From 41ef98b0d415111118420aaada8ddd8d8f98392f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 30 Jan 2008 00:48:45 +0000 Subject: Bug 414267: show bug UI broken after editing an attachment - Patch by Guy Pyrzak r/a=LpSolit --- template/en/default/attachment/updated.html.tmpl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'template/en/default/attachment') diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl index 011435a16..4b9160710 100644 --- a/template/en/default/attachment/updated.html.tmpl +++ b/template/en/default/attachment/updated.html.tmpl @@ -24,9 +24,23 @@ #%] [% PROCESS global/variables.none.tmpl %] +[% bug = bugs.0 %] +[% filtered_desc = bug.short_desc FILTER html %] +[% filtered_timestamp = bug.delta_ts FILTER time %] [% PROCESS global/header.html.tmpl title = "Changes Submitted to Attachment $attachment.id of $terms.Bug $attachment.bug_id" + header = "$terms.Bug $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" + ] + 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" ] doc_section = "bug_page.html" %] -- cgit v1.2.3-24-g4f1b