From: richard Date: Wed, 14 Jan 2004 23:50:12 +0000 (+0000) Subject: another example X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c6fd470abeaca5da11a52dbacf5368d587977aea;p=roundup.git another example git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2034 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/doc/customizing.txt b/doc/customizing.txt index 3ecc7f5..3501997 100644 --- a/doc/customizing.txt +++ b/doc/customizing.txt @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.107 $ +:Version: $Revision: 1.108 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -3654,6 +3654,28 @@ template as follows:: line). +Colouring the rows in the issue index according to priority +----------------------------------------------------------- + +A simple ``tal:attributes`` statement will do the bulk of the work here. In +the ``issue.index.html`` template, add to the ```` that displays the +actual rows of data:: + + + +and then in your stylesheet (``style.css``) specify the colouring for the +different priorities, like:: + + tr.priority-critical td { + background-color: red; + } + + tr.priority-urgent td { + background-color: orange; + } + +and so on, with far less offensive colours :) + ------------------- Back to `Table of Contents`_