[Tickets #7480] Add colors to calendars on a per calendar state in addition to per category

bugs at horde.org bugs at horde.org
Sun Oct 12 13:10:00 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7480
------------------------------------------------------------------------------
  Ticket             | 7480
  Created By         | elliot at marlboro.edu
  Summary            | Add colors to calendars on a per calendar state in
                     | addition to per category
  Queue              | Kronolith
  Version            | 2.3
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | Views.patch
------------------------------------------------------------------------------


elliot at marlboro.edu (2008-10-12 09:10) wrote:

The current implementation of calendar coloring only takes into  
account the category of an event.  All Business events, for example,  
might be red while all Pleasure events might be blue.  This is a great  
feature, but is lacking in a shared calendar environment where one  
might be displaying a dozen calendars on the same page all containing  
events on the same day, some of which might even be of the same  
category.  Currently, the only way to determine if something is on one  
calendar as opposed to another is to disable and re-enable calendars  
until the event disappears and re-appears.
One can mouse over the event to find the owner, which is helpful, but  
even clicking on the event doesn't tell you what calendar it belongs to.

I'd like to request that we start working toward a system similar to  
how categories are colorized but that enables colorization by calendar  
if requested.  Perhaps the calendar can be denoted by the border color  
rather than the background (though it seems the opposite might be more  
appropriate in my opinion.)  Either way here's an initial patch that  
simply adds a hash of the calendar name to the class on a given event  
so that administrators if they wish could add colorization to a css  
file as a stop-gap fix until something more robust can be developed.








More information about the bugs mailing list