Last modified: 2013-12-28 13:41:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61063, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59063 - REPORTS-5 Provide alternating classes (odd/even) for report tables, to allow CSS formatting
REPORTS-5 Provide alternating classes (odd/even) for report tables, to allow ...
Status: RESOLVED FIXED
Product: Tool Labs tools
Classification: Unclassified
tsreports (Other open bugs)
unspecified
All All
: Unprioritized minor
: ---
Assigned To: Bugzilla Bug Importer (valhallasw)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-28 13:41 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2013-12-28 13:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:36 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.
Comment 1 Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:37 UTC
-------------------------------------------------------------------------------
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`.
Comment 2 Bugzilla Bug Importer (valhallasw) 2013-12-28 13:41:39 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links