diff options
author | kiko%async.com.br <> | 2004-08-24 00:21:58 +0200 |
---|---|---|
committer | kiko%async.com.br <> | 2004-08-24 00:21:58 +0200 |
commit | 2da40266afd21bcc097cc6e77557fd8012543e46 (patch) | |
tree | 8dfa2885cc00058f9b7cd551547df5e76bf23e18 /template | |
parent | 88d26275229b5f52f435130496169766313c87b7 (diff) | |
download | bugzilla-2da40266afd21bcc097cc6e77557fd8012543e46.tar.gz bugzilla-2da40266afd21bcc097cc6e77557fd8012543e46.tar.xz |
Patch for bug 252810: p1, critical not displayed in red when groups are
used for bug. Roundabout patch that adds a padlock icon next to the bug
ID to bug listings, and does even/odd striping of the buglist. r,a=myk.
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/list/table.html.tmpl | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index fa2ca7766..5a2cf8418 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -140,25 +140,29 @@ [%############################################################################%] [% FOREACH bug = bugs %] - [% FLUSH IF loop.count() % 10 == 1 %] + [% count = loop.count() %] + [% FLUSH IF count % 10 == 1 %] [%# At the beginning of every hundred bugs in the list, start a new table. %] - [% IF loop.count() % 100 == 1 %] + [% IF count % 100 == 1 %] [% tableheader %] [% END %] <tr class="bz_[% bug.bug_severity FILTER css_class_quote %] bz_[% bug.priority FILTER css_class_quote %] bz_[% bug.bug_status FILTER css_class_quote %] - bz_[% bug.resolution FILTER css_class_quote %] - [%+ "bz_secure" IF bug.isingroups %]"> + [%+ "bz_$bug.resolution" FILTER css_class_quote IF bug.resolution %] + [%+ "bz_secure" IF bug.isingroups %] + [%+ count % 2 == 1 ? "bz_odd" : "bz_even" %] + "> + [% IF dotweak %] <td> <input type="checkbox" name="id_[% bug.bug_id %]"> </td> [% END %] - <td> + <td class="first-child"> <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a> </td> |