Commit 6c090fed authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 408807: Need a link pointing to the bug report from the attachment details…

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
parent 77417e27
......@@ -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 %]
......
......@@ -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 %]
......
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment