diff options
author | Reed Loden <reed@reedloden.com> | 2013-03-18 11:26:04 +0100 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2013-03-18 11:26:04 +0100 |
commit | 1b0a68274a27206725476f579d68ed4882606ada (patch) | |
tree | d0a077a31e5b8430955c3a2529ffbb802ff23eae /extensions | |
parent | 617b0bbe5cee5e089af206d79169a2d99d43211f (diff) | |
download | bugzilla-1b0a68274a27206725476f579d68ed4882606ada.tar.gz bugzilla-1b0a68274a27206725476f579d68ed4882606ada.tar.xz |
Use correct variables for bug and attachment IDs in order to fix patch reviewing problems.
https://bugzilla.mozilla.org/show_bug.cgi?id=852072
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl | 2 | ||||
-rw-r--r-- | extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl b/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl index cd2db2770..ee793b192 100644 --- a/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl +++ b/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl @@ -21,5 +21,5 @@ [% IF attachment.ispatch %]   | - <a href="[% Bugzilla.splinter_review_url(bug.id, attachment.id) FILTER none %]">Review</a> + <a href="[% Bugzilla.splinter_review_url(bugid, attachment.id) FILTER none %]">Review</a> [% END %] diff --git a/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl b/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl index c9717fbd6..3a02c843a 100644 --- a/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl +++ b/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl @@ -2,6 +2,6 @@ [% IF flag && flag.status == '?' && flag.type.name == 'review' && attachment && attachment.ispatch %] Review -[%+ Bugzilla.splinter_review_url(request.bug_id, request.attach_id) FILTER none %] +[%+ Bugzilla.splinter_review_url(bug.bug_id, attachment.id) FILTER none %] [%- END %] |