From: lpsolit%gmail.com <> Date: Sun, 27 Sep 2009 16:19:02 +0000 (+0000) Subject: Bug 408807: Need a link pointing to the bug report from the attachment details and... X-Git-Tag: bugzilla-3.5.1~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c090fed8af9808325493dafb155ea2d29611cba;p=thirdparty%2Fbugzilla.git Bug 408807: Need a link pointing to the bug report from the attachment details and diff pages - Patch by A.A. Shimono (himorin) r/a=LpSolit --- diff --git a/template/en/default/attachment/diff-footer.html.tmpl b/template/en/default/attachment/diff-footer.html.tmpl index d263d9b8a6..49c662a989 100644 --- a/template/en/default/attachment/diff-footer.html.tmpl +++ b/template/en/default/attachment/diff-footer.html.tmpl @@ -24,6 +24,9 @@
+ [% PROCESS global/variables.none.tmpl %] + Return to [% "$terms.bug $bugid" FILTER bug_link(bugid) FILTER none %] + [% PROCESS global/footer.html.tmpl %] [% ELSE %] diff --git a/template/en/default/attachment/diff-header.html.tmpl b/template/en/default/attachment/diff-header.html.tmpl index 8dcd073f11..663d9b7667 100644 --- a/template/en/default/attachment/diff-header.html.tmpl +++ b/template/en/default/attachment/diff-header.html.tmpl @@ -70,6 +70,7 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %] View | Details | Raw Unified + | Return to [% "$terms.bug $bugid" FILTER bug_link(bugid) FILTER none %] [% END %] [% IF other_patches.size > 0 %] [% IF headers %] |[%END%] @@ -93,6 +94,7 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %] [% ELSE %] [% IF headers %] Raw Unified + | Return to [% "$terms.bug $bugid" FILTER bug_link(bugid) FILTER none %] | [% END %] [% END %] diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 1c6d22c870..fadf3e3086 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -215,7 +215,7 @@ - Attachments on this [% terms.Bug %]: + Attachments on [% "$terms.bug ${attachment.bug_id}" FILTER bug_link(attachment.bug_id) FILTER none %]: [% FOREACH a = attachments %] [% IF a == attachment.id %] [%+ a %]