From 6c090fed8af9808325493dafb155ea2d29611cba Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 27 Sep 2009 16:19:02 +0000 Subject: 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 --- template/en/default/attachment/diff-footer.html.tmpl | 3 +++ template/en/default/attachment/diff-header.html.tmpl | 2 ++ template/en/default/attachment/edit.html.tmpl | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'template/en') diff --git a/template/en/default/attachment/diff-footer.html.tmpl b/template/en/default/attachment/diff-footer.html.tmpl index d263d9b8a..49c662a98 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 8dcd073f1..663d9b766 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 1c6d22c87..fadf3e308 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 %] -- cgit v1.2.3-24-g4f1b