summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-25 17:38:06 +0200
committerlpsolit%gmail.com <>2006-08-25 17:38:06 +0200
commit06ef3e71b767437b16dad53d1f61db4f64bcc031 (patch)
tree53863dd63fa9089f51f3525156cbecd542b1ea64 /template
parent1e68fe1e5c78228ca82ff6b41176de59e6ba0a4c (diff)
downloadbugzilla-06ef3e71b767437b16dad53d1f61db4f64bcc031.tar.gz
bugzilla-06ef3e71b767437b16dad53d1f61db4f64bcc031.tar.xz
Bug 276816: attachment edit page should have <link rel="up"> to the bug - Patch by victory(_RSZ_) <bmo@rsz.jp> r=wurblzap a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/site-navigation.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl
index 8714b5ec0..ffe9fe799 100644
--- a/template/en/default/global/site-navigation.html.tmpl
+++ b/template/en/default/global/site-navigation.html.tmpl
@@ -57,6 +57,11 @@
[% END %]
[% END %]
+ [%# *** Attachment *** %]
+ [% IF attachment && attachment.bug_id %]
+ <link rel="Up" href="show_bug.cgi?id=[% attachment.bug_id FILTER none %]">
+ [% END %]
+
[%# *** Dependencies, Votes, Activity, Print-version *** %]
[% IF bug %]