Commit 9d5b7f95 authored by reed%reedloden.com's avatar reed%reedloden.com

Bug 367394 - "show_bug should include a class bz_group_<whatever> so pages can…

Bug 367394 - "show_bug should include a class bz_group_<whatever> so pages can be styled" [p=reed r+a=LpSolit]
parent 4e0bdbf2
......@@ -25,9 +25,20 @@
#%]
[% PROCESS global/variables.none.tmpl %]
[% bug = bugs.0 %]
[% bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status",
"bz_component_$bug.component",
"bz_bug_$bug.bug_id"
]
%]
[% FOREACH group = bug.groups_in %]
[% bodyclasses.push("bz_group_" _ group.name) %]
[% END %]
[% PROCESS global/header.html.tmpl
title = "Attachment $attachment.id added to $terms.Bug $attachment.bug_id"
bodyclasses = bodyclasses
javascript_urls = [ "js/util.js", "js/keyword-chooser.js", "js/field.js",
"js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ]
style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ]
......
......@@ -27,17 +27,22 @@
[% bug = bugs.0 %]
[% filtered_desc = bug.short_desc FILTER html %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
[% bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status",
"bz_component_$bug.component",
"bz_bug_$bug.bug_id"
]
%]
[% FOREACH group = bug.groups_in %]
[% bodyclasses.push("bz_group_" _ group.name) %]
[% END %]
[% PROCESS global/header.html.tmpl
title = "Changes Submitted to Attachment $attachment.id of $terms.Bug $attachment.bug_id"
header = "$terms.Bug&nbsp;$attachment.bug_id"
subheader = filtered_desc
header_addl_info = "Last modified: $filtered_timestamp"
bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status",
"bz_component_$bug.component",
"bz_bug_$bug.bug_id"
]
bodyclasses = bodyclasses
javascript_urls = [ "js/util.js", "js/keyword-chooser.js", "js/field.js",
"js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ]
style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ]
......
......@@ -29,16 +29,21 @@
[% IF !header_done %]
[% filtered_desc = bug.short_desc FILTER html %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
[% bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status",
"bz_component_$bug.component",
"bz_bug_$bug.bug_id"
]
%]
[% FOREACH group = bug.groups_in %]
[% bodyclasses.push("bz_group_" _ group.name) %]
[% END %]
[% PROCESS global/header.html.tmpl
title = "$terms.Bug $bug.bug_id &ndash; $filtered_desc"
header = "$terms.Bug&nbsp;$bug.bug_id"
subheader = filtered_desc
header_addl_info = "Last modified: $filtered_timestamp"
bodyclasses = ['bz_bug',
"bz_status_$bug.bug_status",
"bz_component_$bug.component",
"bz_bug_$bug.bug_id"
]
bodyclasses = bodyclasses
javascript_urls = [ "js/util.js", "js/keyword-chooser.js", "js/field.js",
"js/yui/yahoo-dom-event.js", "js/yui/calendar.js" ]
style_urls = [ "skins/standard/yui/calendar.css", "skins/standard/show_bug.css" ]
......
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