summaryrefslogtreecommitdiffstats
path: root/extensions/MozReview/template
diff options
context:
space:
mode:
authorDylan Hardison <dylan@mozilla.com>2016-01-23 23:37:19 +0100
committerDylan Hardison <dylan@mozilla.com>2016-01-23 23:37:49 +0100
commit1912ffe61ccaef383976a8dcfb297faf2a4a27e3 (patch)
tree380b4de33ad1cef88fd93db91e2650d21d8ef3fa /extensions/MozReview/template
parent203cb22b21be03197d78e027f17bd7ab20419471 (diff)
downloadbugzilla-1912ffe61ccaef383976a8dcfb297faf2a4a27e3.tar.gz
bugzilla-1912ffe61ccaef383976a8dcfb297faf2a4a27e3.tar.xz
Bug 1226028 - API for batching MozReview requests
Diffstat (limited to 'extensions/MozReview/template')
-rw-r--r--extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl
index 4599b8398..151e63b21 100644
--- a/extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl
+++ b/extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl
@@ -8,4 +8,8 @@
[% IF error == "forbidden_method" %]
The requested method '[% method FILTER html %]' is not allowed to be called using the current API Key.
+[% ELSIF error == "mozreview_attachment_bug_mismatch" %]
+ You tried to update attachment [% attachment.id FILTER html %]
+ as part of adding or updating attachments on [% bug.id FILTER html %].
+ That attachment actually belongs to [% terms.bug %] [% attachment.bug_id FILTER html %].
[% END %]