summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook/global/code-error-errors.html.tmpl
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-10-27 05:18:12 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-10-27 05:18:12 +0200
commitee119fdcac682c80ac056ab74cf3db0264a5ed5b (patch)
tree0d80e20c0449cc1ffb0bac12a7b5013a52c040a1 /extensions/BMO/template/en/default/hook/global/code-error-errors.html.tmpl
parent96fc28e859ed50cbef822ce14e60d53e9ebd2936 (diff)
downloadbugzilla-ee119fdcac682c80ac056ab74cf3db0264a5ed5b.tar.gz
bugzilla-ee119fdcac682c80ac056ab74cf3db0264a5ed5b.tar.xz
Bug 1306637 - add checkbox to page.cgi?id=query_database.html to dump results as csv instead of rendering html table
Diffstat (limited to 'extensions/BMO/template/en/default/hook/global/code-error-errors.html.tmpl')
-rw-r--r--extensions/BMO/template/en/default/hook/global/code-error-errors.html.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/hook/global/code-error-errors.html.tmpl b/extensions/BMO/template/en/default/hook/global/code-error-errors.html.tmpl
new file mode 100644
index 000000000..b9d8c31fe
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/global/code-error-errors.html.tmpl
@@ -0,0 +1,13 @@
+[%# 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 == "illegal_request_method" %]
+ [% title = "Illegal Request Method" %]
+ The request method '[% method FILTER html %]' is not allowed.
+ Legal methods are '[% accepted.join(', ') FILTER html %]'.
+[% END %]