summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/process/header.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/header.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/header.html.tmpl')
-rw-r--r--template/en/default/bug/process/header.html.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/template/en/default/bug/process/header.html.tmpl b/template/en/default/bug/process/header.html.tmpl
index 3ca8e10e8..171d3b50d 100644
--- a/template/en/default/bug/process/header.html.tmpl
+++ b/template/en/default/bug/process/header.html.tmpl
@@ -41,7 +41,17 @@
[% title = "Change Votes" %]
[% END %]
+[% 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 global/header.html.tmpl
+ bodyclasses = bodyclasses
javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ]
style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ]
doc_section = "bug_page.html"