diff options
author | justdave%bugzilla.org <> | 2004-10-25 13:35:30 +0200 |
---|---|---|
committer | justdave%bugzilla.org <> | 2004-10-25 13:35:30 +0200 |
commit | 77c85a80c678a97d21792dc0d57433771fece439 (patch) | |
tree | e843710287030c6ab5dbfb9de9fbdd3a38f3df54 /template/en | |
parent | e63b2d6e7555d960914c0c21e2ebe9260001ecc8 (diff) | |
download | bugzilla-77c85a80c678a97d21792dc0d57433771fece439.tar.gz bugzilla-77c85a80c678a97d21792dc0d57433771fece439.tar.xz |
Backing out patch for bug 251596: found a problem with it after I committed. See the bug.
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/bug/show.html.tmpl | 11 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 8 |
2 files changed, 8 insertions, 11 deletions
diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl index 8db59a980..f98e05f0c 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 7ad957ddc..55a998f16 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 <body> tag - # bodyclasses: array of extra CSS classes for the <body> # onload: string. JavaScript code to run when the page finishes loading. # javascript: string. Javascript to go in the header. # javascript_urls: list. List of URLs to Javascript. @@ -107,11 +106,8 @@ #%] <body bgcolor="[% bgcolor %]" onload="[% onload %]" - class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] - [% FOREACH class = bodyclasses %] - [% ' ' %][% class FILTER css_class_quote %] - [% END %]" - [% bodyattrs %]> + class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]" + [%+ bodyattrs %]> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml' |