From 1912ffe61ccaef383976a8dcfb297faf2a4a27e3 Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Sat, 23 Jan 2016 17:37:19 -0500 Subject: Bug 1226028 - API for batching MozReview requests --- .../template/en/default/hook/global/user-error-errors.html.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extensions/MozReview/template/en') 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 %] -- cgit v1.2.3-24-g4f1b