summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/user-error.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-26 16:26:41 +0100
committerByron Jones <bjones@mozilla.com>2013-03-26 16:26:41 +0100
commitb09e5ff2dd0b97a0254e922183abd79025c2e69a (patch)
tree397282330b4066925d0b4c4c678df6bf809b90bd /template/en/default/global/user-error.html.tmpl
parent7f31fde3a03881e59220e824a4ea390f65608ed9 (diff)
downloadbugzilla-b09e5ff2dd0b97a0254e922183abd79025c2e69a.tar.gz
bugzilla-b09e5ff2dd0b97a0254e922183abd79025c2e69a.tar.xz
Bug 854901: don't allow setting a flag's requestee to a disabled account
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r--template/en/default/global/user-error.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 2ec81a6f6..6c1caf81d 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -621,6 +621,11 @@
<br>Alternately, if your attachment is an image, you could convert
it to a compressible format like JPG or PNG and try again.
+ [% ELSIF error == "flag_requestee_disabled" %]
+ [% title = "Flag Requestee Disabled" %]
+ You can't ask <em>[% requestee.identity FILTER html %]</em> because that
+ account is disabled.
+
[% ELSIF error == "flag_requestee_needs_privs" %]
[% title = "Flag Requestee Needs Privileges" %]
[% requestee.identity FILTER html %] does not have permission to set the