Last modified: 2013-12-28 13:41:39 UTC
This issue was converted from https://jira.toolserver.org/browse/REPORTS-5. Summary: Provide alternating classes (odd/even) for report tables, to allow CSS formatting Issue type: Improvement - An improvement or enhancement to an existing feature or task. Priority: Minor Status: Resolved Assignee: River Tarnell <river.tarnell@wikimedia.de> ------------------------------------------------------------------------------- From: W <rosenthal3000@gmail.com> Date: Tue, 16 Sep 2008 19:10:33 ------------------------------------------------------------------------------- Create classe for tr ("0" and "1"). They should be variable so the first tr has to have the class "0" and the second class "1", the third class "0" and so forth. With this the tables can be better readable using css highlighting.
------------------------------------------------------------------------------- From: River Tarnell <river.tarnell@wikimedia.de> Date: Tue, 16 Sep 2008 19:42:09 ------------------------------------------------------------------------------- Unfortunately there's no built-in way to do this in Cheetah, but DoReport seems like the wrong place (and there's no simple way to pass more data to the template). I ended up calling the classes 'even' and 'odd', slightly more descriptive than 0 and 1. They're set on each `<tr>` in `python/templates/Report.tmpl`.
This bug was imported as RESOLVED. The original assignee has therefore not been set, and the original reporters/responders have not been added as CC, to prevent bugspam. If you re-open this bug, please consider adding these people to the CC list: Original assignee: river@TCX.ORG.UK CC list: river@TCX.ORG.UK