summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-11-03 07:50:09 +0100
committerjocuri%softhome.net <>2004-11-03 07:50:09 +0100
commit038e3b0e82dde2dec9a426cbbdf4e615d5f2a308 (patch)
tree71a708a0932307900bd5c78fd0b53606f44770cd /template/en/default/bug
parent6d3765117ff158848c11799127296de96080e719 (diff)
downloadbugzilla-038e3b0e82dde2dec9a426cbbdf4e615d5f2a308.tar.gz
bugzilla-038e3b0e82dde2dec9a426cbbdf4e615d5f2a308.tar.xz
Patch for bug 251596: make show.html template use customized body attribute; patch by Marc Schumann <wurblzap@gmail.com>; r=kiko, a=justdave.
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/show.html.tmpl11
1 files changed, 5 insertions, 6 deletions
diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl
index f98e05f0c..8db59a980 100644
--- a/template/en/default/bug/show.html.tmpl
+++ b/template/en/default/bug/show.html.tmpl
@@ -28,17 +28,16 @@
[% filtered_desc = bug.short_desc FILTER html %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
-[% bodyattrs = BLOCK %]class='bz_bug bz_status_[% bug.bug_status
- FILTER css_class_quote %] bz_component_[% bug.component
- FILTER css_class_quote %] bz_bug_[% bug.bug_id
- FILTER css_class_quote %]'
-[% END %]
[% PROCESS global/header.html.tmpl
title = "$terms.Bug $bug.bug_id - $bug.short_desc"
h1 = "$terms.Bugzilla $terms.Bug $bug.bug_id"
h2 = filtered_desc
h3 = "Last modified: $filtered_timestamp"
- bodyattrs = bodyattrs
+ bodyclasses = ['bz_bug',
+ "bz_status_$bug.bug_status",
+ "bz_component_$bug.component",
+ "bz_bug_$bug.bug_id"
+ ]
%]
[% PROCESS bug/navigate.html.tmpl %]