Edgewall Software

Changes between Version 1 and Version 2 of 0.12/TracReports


Ignore:
Timestamp:
Oct 27, 2009, 4:04:06 PM (15 years ago)
Author:
Remy Blank
Comment:

Added documentation for the __grouplink__ custom formatting column (#7806).

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/TracReports

    v1 v2  
    180180 
    181181 * '''`__group__`''' -- Group results based on values in this column. Each group will have its own header and table.
     182 * '''`__grouplink__`''' -- Make the header of each group a link to the specified URL. The URL is taken from the first row of each group.
    182183 * '''`__color__`''' -- Should be a numeric value ranging from 1 to 5 to select a pre-defined row color. Typically used to color rows by issue priority.
    183184{{{
     
    193194 * '''`__style__`''' -- A custom CSS style expression to use for the current row.
    194195
    195 '''Example:''' ''List active tickets, grouped by milestone, colored by priority''
     196'''Example:''' ''List active tickets, grouped by milestone, group header linked to milestone page, colored by priority''
    196197{{{
    197198SELECT p.value AS __color__,
    198199     t.milestone AS __group__,
     200     '../milestone/' || t.milestone AS __grouplink__,
    199201     (CASE owner WHEN 'daniel' THEN 'font-weight: bold; background: red;' ELSE '' END) AS __style__,
    200202       t.id AS ticket, summary