Changes between Version 4 and Version 5 of ContextChromePlugin


Ignore:
Timestamp:
Nov 16, 2012 12:09:17 AM (21 months ago)
Author:
matobaa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContextChromePlugin

    v4 v5  
    77 1. Ticket color by Type ... Set css-class to type on ticket. You can design for each type of ticket with trac:wiki:CookBook/SiteStyleCss feature. 
    88 2. Decayed Wiki ... Indicate how old the wiki page is. You can specify colors by age in seconds at trac.ini. 
     9 3. Ticket Link Decolation by field value ... Set css-class to link to tickets by field value. You can secify field names at trac.ini. 
    910 
    1011== Bugs/Feature Requests ==  
     
    3132[components] 
    3233contextchrome.style.typeclasstoticket = enabled 
     34contextchrome.linkdeco.ticketlinkdecorator = enabled 
    3335decayed.wiki.decayedwiki = enabled 
    3436}}} 
     
    4446 
    4547background of wiki pages are colored by age, white for modified in a day, light grey for in a week, and so on. 
     48 
     49==== Ticket link decoration by field value ==== 
     50example trac.ini: 
     51{{{ 
     52#!ini 
     53[ticket] 
     54decorate_fields = owner, milestone 
     55}}} 
     56example style.css: 
     57{{{ 
     58#!css 
     59.ticket.admin {border: thin solid maroon; } 
     60}}} 
     61TrakLinks to tickets that owned by admin is decorated. 
    4662 
    4763==== Tikcet color by Type ====