summaryrefslogtreecommitdiffstats
path: root/extensions/Splinter
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2013-03-18 11:26:04 +0100
committerReed Loden <reed@reedloden.com>2013-03-18 11:26:04 +0100
commit1b0a68274a27206725476f579d68ed4882606ada (patch)
treed0a077a31e5b8430955c3a2529ffbb802ff23eae /extensions/Splinter
parent617b0bbe5cee5e089af206d79169a2d99d43211f (diff)
downloadbugzilla-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/Splinter')
-rw-r--r--extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl2
-rw-r--r--extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl2
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 %]
&#x0020; |
- <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 %]