summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-09-27 18:19:02 +0200
committerlpsolit%gmail.com <>2009-09-27 18:19:02 +0200
commit6c090fed8af9808325493dafb155ea2d29611cba (patch)
tree21ca5ae5262054f8d8826ec237117104c5411995 /template
parent77417e27494a15ded3625ee3cceae93438ccd331 (diff)
downloadbugzilla-6c090fed8af9808325493dafb155ea2d29611cba.tar.gz
bugzilla-6c090fed8af9808325493dafb155ea2d29611cba.tar.xz
Bug 408807: Need a link pointing to the bug report from the attachment details and diff pages - Patch by A.A. Shimono (himorin) <shimono+bug@gmail.com> r/a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/diff-footer.html.tmpl3
-rw-r--r--template/en/default/attachment/diff-header.html.tmpl2
-rw-r--r--template/en/default/attachment/edit.html.tmpl2
3 files changed, 6 insertions, 1 deletions
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 @@
<br>
+ [% PROCESS global/variables.none.tmpl %]
+ <span>Return to [% "$terms.bug $bugid" FILTER bug_link(bugid) FILTER none %]</span>
+
[% 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 %]
<a href="[% PROCESS viewurl id=attachid %]">View</a>
| <a href="[% PROCESS editurl id=attachid %]">Details</a>
| <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER url_quote %]&amp;collapsed=[% collapsed FILTER url_quote %]&amp;headers=[% headers FILTER url_quote %]&amp;format=raw">Raw&nbsp;Unified</a>
+ | 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 %]
<a href="attachment.cgi?oldid=[% oldid %]&amp;newid=[% newid %]&amp;action=interdiff&amp;format=raw">Raw Unified</a>
+ | 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 @@
</table>
- 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 %]