summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 934c0511f..1aaa581b6 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -180,6 +180,27 @@
format like JPG or PNG, or put it elsewhere on the web and
link to it from the bug's URL field or in a comment on the bug.
+ [% ELSIF error == "flag_requestee_unauthorized" %]
+ [% title = "Flag Requestee Not Authorized" %]
+
+ You asked [% requestee.identity FILTER html %]
+ for <code>[% flag_type.name FILTER html %]</code> on bug [% bug_id -%]
+ [% IF attach_id %], attachment [% attach_id %][% END %], but that bug
+ has been restricted to users in certain groups, and the user you asked
+ isn't in all the groups to which the bug has been restricted.
+ Please choose someone else to ask, or make the bug accessible to users
+ on its CC: list and add that user to the list.
+
+ [% ELSIF error == "flag_requestee_unauthorized_attachment" %]
+ [% title = "Flag Requestee Not Authorized" %]
+
+ You asked [% requestee.identity FILTER html %]
+ for <code>[% flag_type.name FILTER html %]</code> on bug [% bug_id %],
+ attachment [% attach_id %], but that attachment is restricted to users
+ in the [% Param("insidergroup") FILTER html %] group, and the user
+ you asked isn't in that group. Please choose someone else to ask,
+ or ask an administrator to add the user to the group.
+
[% ELSIF error == "flag_type_cc_list_invalid" %]
[% title = "Flag Type CC List Invalid" %]
The CC list [% cc_list FILTER html %] must be less than 200 characters long.