summaryrefslogtreecommitdiffstats
path: root/extensions/Splinter
diff options
context:
space:
mode:
authorDave Lawrence <dkl@mozilla.com>2011-11-07 21:16:03 +0100
committerDave Lawrence <dkl@mozilla.com>2011-11-07 21:16:03 +0100
commitd1577fa0afc1dff7729c201879127d1c3609c0c7 (patch)
treee87094e2671a4c2e79b854203f3506f67dccbc93 /extensions/Splinter
parenta69987ae8fbc227ec1bf4633ad308be81c9f9ff3 (diff)
downloadbugzilla-d1577fa0afc1dff7729c201879127d1c3609c0c7.tar.gz
bugzilla-d1577fa0afc1dff7729c201879127d1c3609c0c7.tar.xz
Bug 691672 - Apply the background color for security bugs to attachment details pages for those bugs as well
r=glob
Diffstat (limited to 'extensions/Splinter')
-rw-r--r--extensions/Splinter/template/en/default/pages/splinter.html.tmpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl
index 0d2648e58..352c97d2f 100644
--- a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl
+++ b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl
@@ -18,13 +18,19 @@
# Contributor(s): Owen Taylor <otaylor@redhat.com>
#%]
+[% bodyclasses = [] %]
+[% FOREACH group = bug.groups_in %]
+ [% bodyclasses.push("bz_group_$group.name") %]
+[% END %]
+
[% PROCESS global/header.html.tmpl
title = "Patch Review"
header = "Patch Review"
style_urls = [ "js/yui/assets/skins/sam/container.css",
"js/yui/assets/skins/sam/button.css",
"js/yui/assets/skins/sam/datatable.css",
- "extensions/Splinter/web/splinter.css" ]
+ "extensions/Splinter/web/splinter.css",
+ "skins/standard/bug_groups.css" ]
javascript_urls = [ "js/yui/element/element-min.js",
"js/yui/container/container-min.js",
"js/yui/button/button-min.js",
@@ -32,6 +38,7 @@
"js/yui/datasource/datasource-min.js",
"js/yui/datatable/datatable-min.js",
"extensions/Splinter/web/splinter.js" ]
+ bodyclasses = bodyclasses
%]
[% can_edit = 0 %]