summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-01-30 01:48:45 +0100
committerlpsolit%gmail.com <>2008-01-30 01:48:45 +0100
commit41ef98b0d415111118420aaada8ddd8d8f98392f (patch)
treee04e3b7f5ab0859349b0fbeba182b2dc96e120c2
parentbc2cad4f2ff4362867bc7bdb0a19bfe34dbaac14 (diff)
downloadbugzilla-41ef98b0d415111118420aaada8ddd8d8f98392f.tar.gz
bugzilla-41ef98b0d415111118420aaada8ddd8d8f98392f.tar.xz
Bug 414267: show bug UI broken after editing an attachment - Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r/a=LpSolit
-rw-r--r--template/en/default/attachment/updated.html.tmpl14
1 files changed, 14 insertions, 0 deletions
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&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"
+ ]
+ 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"
%]