Commit 77c85a80 authored by justdave%bugzilla.org's avatar justdave%bugzilla.org

Backing out patch for bug 251596: found a problem with it after I committed. See the bug.

parent e63b2d6e
...@@ -28,16 +28,17 @@ ...@@ -28,16 +28,17 @@
[% filtered_desc = bug.short_desc FILTER html %] [% filtered_desc = bug.short_desc FILTER html %]
[% filtered_timestamp = bug.delta_ts FILTER time %] [% 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 [% PROCESS global/header.html.tmpl
title = "$terms.Bug $bug.bug_id - $bug.short_desc" title = "$terms.Bug $bug.bug_id - $bug.short_desc"
h1 = "$terms.Bugzilla $terms.Bug $bug.bug_id" h1 = "$terms.Bugzilla $terms.Bug $bug.bug_id"
h2 = filtered_desc h2 = filtered_desc
h3 = "Last modified: $filtered_timestamp" h3 = "Last modified: $filtered_timestamp"
bodyclasses = ['bz_bug', bodyattrs = bodyattrs
"bz_status_$bug.bug_status",
"bz_component_$bug.component",
"bz_bug_$bug.bug_id"
]
%] %]
[% PROCESS bug/navigate.html.tmpl %] [% PROCESS bug/navigate.html.tmpl %]
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
# h3: string. Right-aligned subheader. # h3: string. Right-aligned subheader.
# bgcolor: string. the page's background color ("#rrggbb"). # bgcolor: string. the page's background color ("#rrggbb").
# bodyattrs: any extra attributes for the <body> tag # 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. # onload: string. JavaScript code to run when the page finishes loading.
# javascript: string. Javascript to go in the header. # javascript: string. Javascript to go in the header.
# javascript_urls: list. List of URLs to Javascript. # javascript_urls: list. List of URLs to Javascript.
...@@ -107,11 +106,8 @@ ...@@ -107,11 +106,8 @@
#%] #%]
<body bgcolor="[% bgcolor %]" onload="[% onload %]" <body bgcolor="[% bgcolor %]" onload="[% onload %]"
class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]"
[% FOREACH class = bodyclasses %] [%+ bodyattrs %]>
[% ' ' %][% class FILTER css_class_quote %]
[% END %]"
[% bodyattrs %]>
[%# Migration note: the following file corresponds to the old Param [%# Migration note: the following file corresponds to the old Param
# 'bannerhtml' # 'bannerhtml'
......
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