]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 414267: show bug UI broken after editing an attachment - Patch by Guy Pyrzak...
authorlpsolit%gmail.com <>
Wed, 30 Jan 2008 00:48:45 +0000 (00:48 +0000)
committerlpsolit%gmail.com <>
Wed, 30 Jan 2008 00:48:45 +0000 (00:48 +0000)
template/en/default/attachment/updated.html.tmpl

index 011435a16a7a9dccd578dd8b0070e32dd4be7953..4b9160710b695baa3ecb03ca6ae9cda1748a1132 100644 (file)
   #%]
 
 [% 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"
 %]