summaryrefslogtreecommitdiffstats
path: root/extensions/MozReview/template
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/MozReview/template')
-rw-r--r--extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl11
1 files changed, 11 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
new file mode 100644
index 000000000..4599b8398
--- /dev/null
+++ b/extensions/MozReview/template/en/default/hook/global/user-error-errors.html.tmpl
@@ -0,0 +1,11 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% IF error == "forbidden_method" %]
+ The requested method '[% method FILTER html %]' is not allowed to be called using the current API Key.
+[% END %]