Commit 5b5d877f authored by reed%reedloden.com's avatar reed%reedloden.com

Bug 516635 - "Add "bz_product_<product-name>" to body classes" [p=reed r=LpSolit a=LpSolit]

parent a7310a52
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
[% bug = bugs.0 %] [% bug = bugs.0 %]
[% bodyclasses = ['bz_bug', [% bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status", "bz_status_$bug.bug_status",
"bz_product_$bug.product",
"bz_component_$bug.component", "bz_component_$bug.component",
"bz_bug_$bug.bug_id" "bz_bug_$bug.bug_id"
] ]
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
[% filtered_timestamp = bug.delta_ts FILTER time %] [% filtered_timestamp = bug.delta_ts FILTER time %]
[% bodyclasses = ['bz_bug', [% bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status", "bz_status_$bug.bug_status",
"bz_product_$bug.product",
"bz_component_$bug.component", "bz_component_$bug.component",
"bz_bug_$bug.bug_id" "bz_bug_$bug.bug_id"
] ]
......
...@@ -41,7 +41,17 @@ ...@@ -41,7 +41,17 @@
[% title = "Change Votes" %] [% title = "Change Votes" %]
[% END %] [% 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 [% PROCESS global/header.html.tmpl
bodyclasses = bodyclasses
javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ]
style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ] style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ]
doc_section = "bug_page.html" doc_section = "bug_page.html"
......
...@@ -31,6 +31,15 @@ ...@@ -31,6 +31,15 @@
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
[% UNLESS header_done %] [% 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 %] [% PROCESS bug/process/header.html.tmpl %]
[% END %] [% END %]
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
[% filtered_timestamp = bug.delta_ts FILTER time %] [% filtered_timestamp = bug.delta_ts FILTER time %]
[% bodyclasses = ['bz_bug', [% bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status", "bz_status_$bug.bug_status",
"bz_product_$bug.product",
"bz_component_$bug.component", "bz_component_$bug.component",
"bz_bug_$bug.bug_id" "bz_bug_$bug.bug_id"
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment