summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook/global
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-07-20 19:31:30 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-07-20 19:31:30 +0200
commite4e2e19aeac85b534d5f3b8074b2b3a42122fa4c (patch)
tree25f57e438590baae61d400591a9c3b0b47db2577 /extensions/BMO/template/en/default/hook/global
parent1b754b706621166e4bc04e99bfd66f60332e0057 (diff)
downloadbugzilla-e4e2e19aeac85b534d5f3b8074b2b3a42122fa4c.tar.gz
bugzilla-e4e2e19aeac85b534d5f3b8074b2b3a42122fa4c.tar.xz
Bug 770855 - Permission error pages should instruct users how to get permissions
r=glob
Diffstat (limited to 'extensions/BMO/template/en/default/hook/global')
-rw-r--r--extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl b/extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl
new file mode 100644
index 000000000..51f8e3d7d
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl
@@ -0,0 +1,15 @@
+[%# 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_change' || error == 'illegal_change_deps' %]
+ <p>
+ If you are attempting to confirm an unconfirmed [% terms.bug %] or edit the fields of a [% terms.bug %],
+ <a href="[% urlbase FILTER none %]page.cgi=get_permissions.html">find
+ out how to get the necessary permissions</a>.
+ </p>
+[% END %]