summaryrefslogtreecommitdiffstats
path: root/extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl')
-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 %]