diff options
author | Byron Jones <bjones@mozilla.com> | 2013-07-22 07:19:19 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-07-22 07:19:19 +0200 |
commit | f10990783862250ca80e96ac5e8a500bed0ee636 (patch) | |
tree | 479e389968f523d82ab6b0ac973c9fe5b45cf60a /template/en | |
parent | ca9d0d9120c56b0aa3c3cadcb4759768140cc947 (diff) | |
download | bugzilla-f10990783862250ca80e96ac5e8a500bed0ee636.tar.gz bugzilla-f10990783862250ca80e96ac5e8a500bed0ee636.tar.xz |
Bug 850986: don't allow setting a flag's requestee to a disabled account
r=dkl, a=justdave
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 6bb0a2bae..a4c900a22 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -633,10 +633,15 @@ <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" %] + [% ELSIF error == "flag_type_requestee_disabled" %] [% title = "Flag not Requestable from Specific Person" %] You can't ask a specific person for <em>[% type.name FILTER html %]</em>. + [% 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 |