summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-05-30 03:11:03 +0200
committerlpsolit%gmail.com <>2006-05-30 03:11:03 +0200
commit422a379558b0738d842c1e5b997ef8357ff18ac4 (patch)
tree23ec4794177a623072f8150c5f0d38dffb8fafe3 /template/en/default/global
parent853c40ff96d824455483f3ff8d1d2f6c1710070c (diff)
downloadbugzilla-422a379558b0738d842c1e5b997ef8357ff18ac4.tar.gz
bugzilla-422a379558b0738d842c1e5b997ef8357ff18ac4.tar.xz
Bug 324784: editgroups.cgi should make sure groups it edits/removes are not used by editparams.cgi (in data/params) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/user-error.html.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index ee7f6c17d..ac1bca1c2 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -519,6 +519,20 @@
[% title = "The group already exists" %]
The group [% name FILTER html %] already exists.
+ [% ELSIF error == "group_has_special_role" %]
+ [% title = "Group not deletable" %]
+ [% IF groups.size == 1 %]
+ [% attr = "it" %]
+ [% param = "parameter" %]
+ [% ELSE %]
+ [% attr = "them" %]
+ [% param = "parameters" %]
+ [% END %]
+ The group '[% name FILTER html %]' is used by the
+ '[% groups.join("' and '") FILTER html %]' [% param FILTER html %].
+ In order to delete this group, you first have to change the
+ [%+ param FILTER html %] to make [% attr FILTER html %] point to another group.
+
[% ELSIF error == "group_not_specified" %]
[% title = "Group not specified" %]
No group was specified.