Changes between Version 28 and Version 29 of ContextChromePlugin


Ignore:
Timestamp:
Dec 7, 2015, 10:08:56 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • ContextChromePlugin

    v28 v29  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Add context-aware CSS attribute
     3= Add context-aware styles to Trac page widgets
    44
    55== Description
    66
    7 This plugin offers features to style your pages and page widgets depending on the type of ticket you are dealing with.
     7This plugin offers the capability to style your Trac pages and page widgets according to the type of ticket you are dealing with.
    88
    99Key features:
    10  1. Wiki Link Decoration by age of wiki page: add "new" css-class to link to wiki page that is young. You can specify the ages in `trac.ini`.
    11  1. Decayed Wiki: indicate how old the wiki page is. You can specify colors by age in seconds at `trac.ini`; so far this feature requires Python 2.7 or later.
     10 1. Wiki Link Decoration by age of wiki page: add "new" css-class to link to a wiki page that is recent. You can specify the age in `trac.ini`.
     11 1. Decayed Wiki: indicate how old the wiki page is. You can specify colors by age in seconds at `trac.ini`; requires Python 2.7 or later.
    1212 1. Ticket Link Decoration by field value: Set css-class to link to tickets by field value. You can specify field names at `trac.ini`.
    1313 1. Decorate over intertrac links, with XmlRpcPlugin and [browser:/contextchromeplugin/0.12/contextchrome/cors.py corsEnabler] included.
     
    1616 1. marked for validation: Set css-class to field specified by validator, such as TracTicketValidatorPlugin or TracTicketConditionalValidatePlugin.
    1717
    18 If you want to edit the CSS inline in the browser, use WikiCssPlugin or ThemeEnginePlugin. If you want to modify the decoration link to a new page, edit the fiels site.html and site.css.
     18If you want to edit the CSS inline in the browser, use WikiCssPlugin or ThemeEnginePlugin. If you want to modify the decoration link to a new page, edit the files site.html and site.css.
    1919
    2020== Bugs/Feature Requests
     
    4242== Example
    4343
    44 Sample trac.ini:
     44Sample `trac.ini` stanza:
    4545{{{#!ini
    4646[components]
     
    5454=== Wiki age to decorate or not
    5555
    56 Example trac.ini:
     56Example `trac.ini`:
    5757{{{#!ini
    5858[wiki]
     
    6464=== Decayed Wiki
    6565
    66 Sample trac.ini:
     66Sample `trac.ini` where the background of wiki pages are colored by age, ie white for modified in a day, light grey for in a week, and so on:
    6767{{{#!ini
    6868[wiki]
     
    7070}}}
    7171
    72 background of wiki pages are colored by age, white for modified in a day, light grey for in a week, and so on.
    73 
    7472=== Ticket link decoration by field value
    7573
    76 Sample trac.ini:
     74Sample `trac.ini`:
    7775{{{#!ini
    7876[ticket]
     
    110108Enable required TracTicketValidatorPlugin.
    111109
    112 Sample trac.ini:
     110Sample `trac.ini`:
    113111{{{#!ini
    114112[ticketvalidator]