summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/process/results.html.tmpl
diff options
context:
space:
mode:
authorreed%reedloden.com <>2009-10-19 04:09:39 +0200
committerreed%reedloden.com <>2009-10-19 04:09:39 +0200
commit5b5d877f48b5154a641296089db1ff815b860fae (patch)
tree8777a72d745ddaf69e40a98e45de5d2097f793e6 /template/en/default/bug/process/results.html.tmpl
parenta7310a522e4ac2b24d01f0cdf44e132d0db8f73b (diff)
downloadbugzilla-5b5d877f48b5154a641296089db1ff815b860fae.tar.gz
bugzilla-5b5d877f48b5154a641296089db1ff815b860fae.tar.xz
Bug 516635 - "Add "bz_product_<product-name>" to body classes" [p=reed r=LpSolit a=LpSolit]
Diffstat (limited to 'template/en/default/bug/process/results.html.tmpl')
-rw-r--r--template/en/default/bug/process/results.html.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/template/en/default/bug/process/results.html.tmpl b/template/en/default/bug/process/results.html.tmpl
index d2adca8b8..617c6850a 100644
--- a/template/en/default/bug/process/results.html.tmpl
+++ b/template/en/default/bug/process/results.html.tmpl
@@ -31,6 +31,15 @@
[% PROCESS global/variables.none.tmpl %]
[% UNLESS header_done %]
+ [% bodyclasses = ['bz_bug',
+ "bz_status_$bug.bug_status",
+ "bz_component_$bug.component",
+ "bz_bug_$bug.bug_id"
+ ]
+ %]
+ [% FOREACH group = bug.groups_in %]
+ [% bodyclasses.push("bz_group_$group.name") %]
+ [% END %]
[% PROCESS bug/process/header.html.tmpl %]
[% END %]