summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-12-08 07:46:28 +0100
committergerv%gerv.net <>2003-12-08 07:46:28 +0100
commit65610dbfae8d9effe4bf4861d16708798cdf1c90 (patch)
tree77bcfe30521b70fc40b0c400036ca97fa0867ea0 /template/en/default/bug
parent1b50564b270e8986078f1851c1a85ca31609af06 (diff)
downloadbugzilla-65610dbfae8d9effe4bf4861d16708798cdf1c90.tar.gz
bugzilla-65610dbfae8d9effe4bf4861d16708798cdf1c90.tar.xz
Bug 223078 - Provide classes to allow user to style bugs depending on bug number, component or status. Patch by gerv; r=kiko, a=justdave.
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/show.html.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl
index 44b9c72b4..ed56ae29d 100644
--- a/template/en/default/bug/show.html.tmpl
+++ b/template/en/default/bug/show.html.tmpl
@@ -28,12 +28,18 @@
[% filtered_desc = bug.short_desc FILTER html %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
+[% bodyattrs = BLOCK %]class='bz_bug [% bug.bug_status
+ FILTER css_class_quote %] [%+ bug.component
+ FILTER css_class_quote %] [%+ bug.bug_id
+ FILTER css_class_quote %]'
+[% END %]
[% PROCESS global/header.html.tmpl
title = "$terms.Bug $bug.bug_id - $bug.short_desc"
h1 = "$terms.Bugzilla $terms.Bug $bug.bug_id"
h2 = filtered_desc
h3 = "Last modified: $filtered_timestamp"
style_urls = [ "css/edit_bug.css" ]
+ bodyattrs = bodyattrs
%]
[% PROCESS bug/navigate.html.tmpl %]