diff options
author | lpsolit%gmail.com <> | 2009-09-27 18:19:02 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-09-27 18:19:02 +0200 |
commit | 6c090fed8af9808325493dafb155ea2d29611cba (patch) | |
tree | 21ca5ae5262054f8d8826ec237117104c5411995 /template/en | |
parent | 77417e27494a15ded3625ee3cceae93438ccd331 (diff) | |
download | bugzilla-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/en')
-rw-r--r-- | template/en/default/attachment/diff-footer.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/attachment/diff-header.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 2 |
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 %]&context=[% context FILTER url_quote %]&collapsed=[% collapsed FILTER url_quote %]&headers=[% headers FILTER url_quote %]&format=raw">Raw 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 %]&newid=[% newid %]&action=interdiff&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 %] |