diff options
author | reed%reedloden.com <> | 2009-10-19 04:09:39 +0200 |
---|---|---|
committer | reed%reedloden.com <> | 2009-10-19 04:09:39 +0200 |
commit | 5b5d877f48b5154a641296089db1ff815b860fae (patch) | |
tree | 8777a72d745ddaf69e40a98e45de5d2097f793e6 /template/en/default/bug/process | |
parent | a7310a522e4ac2b24d01f0cdf44e132d0db8f73b (diff) | |
download | bugzilla-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')
-rw-r--r-- | template/en/default/bug/process/header.html.tmpl | 10 | ||||
-rw-r--r-- | template/en/default/bug/process/results.html.tmpl | 9 |
2 files changed, 19 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" 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 %] |