summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-09 08:53:56 +0100
committerlpsolit%gmail.com <>2006-03-09 08:53:56 +0100
commitefacaaf6ee6b79fca5f256bc29c338b9e51e8c5d (patch)
treeb489c7f5292b4c6519ea2b3d5fd855359bba3003 /template/en/default/global
parent3cacaab9c9b2d09970fcf901d554d06f0ef16ce2 (diff)
downloadbugzilla-efacaaf6ee6b79fca5f256bc29c338b9e51e8c5d.tar.gz
bugzilla-efacaaf6ee6b79fca5f256bc29c338b9e51e8c5d.tar.xz
Bug 323912: When a group cannot be deleted because it is in used, ThrowUserError() should be called - Patch by Frédéric Buclin <LpSolit@gmail.com> r=GavinS a=myk
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/user-error.html.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 225b13111..079b14e0a 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -508,6 +508,14 @@
The sort key must be an integer between 0 and 32767 inclusive.
It cannot be <em>[% sortkey FILTER html %]</em>.
+ [% ELSIF error == "group_cannot_delete" %]
+ [% title = "Cannot Delete Group" %]
+ The <em>[% name FILTER html %]</em> group cannot be deleted because
+ there are
+ <a href="editgroups.cgi?action=del&amp;group=[% gid FILTER url_quote %]">records</a>
+ in the database which refer to it. All references to this group must
+ be removed before you can remove it.
+
[% ELSIF error == "group_exists" %]
[% title = "The group already exists" %]
The group [% name FILTER html %] already exists.