Page MenuHomePhabricator

REPORTS-5 Provide alternating classes (odd/even) for report tables, to allow CSS formatting
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: minor

Details

Reference
bz59063

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:32 AM
bzimport added a project: Tool-tsreports.
bzimport set Reference to bz59063.

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