From: justdave%bugzilla.org <> Date: Mon, 25 Oct 2004 11:53:43 +0000 (+0000) Subject: Erf. Backing out leftovers from another patch that accidently got checked in with... X-Git-Tag: bugzilla-2.18rc3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6e07bad73b0db4b32cd68173dcb4507d56470b;p=thirdparty%2Fbugzilla.git Erf. Backing out leftovers from another patch that accidently got checked in with the patch for bug 254498. --- diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl index 8db59a9800..f98e05f0cb 100644 --- a/template/en/default/bug/show.html.tmpl +++ b/template/en/default/bug/show.html.tmpl @@ -28,16 +28,17 @@ [% 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" - bodyclasses = ['bz_bug', - "bz_status_$bug.bug_status", - "bz_component_$bug.component", - "bz_bug_$bug.bug_id" - ] + bodyattrs = bodyattrs %] [% PROCESS bug/navigate.html.tmpl %] diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index ed0d801a61..5ee8c7f321 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -28,7 +28,6 @@ # h3: string. Right-aligned subheader. # bgcolor: string. the page's background color ("#rrggbb"). # bodyattrs: any extra attributes for the tag - # bodyclasses: array of extra CSS classes for the # onload: string. JavaScript code to run when the page finishes loading. # javascript: string. Javascript to go in the header. # style: string. CSS style.