From efacaaf6ee6b79fca5f256bc29c338b9e51e8c5d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 9 Mar 2006 07:53:56 +0000 Subject: Bug 323912: When a group cannot be deleted because it is in used, ThrowUserError() should be called - Patch by Frédéric Buclin r=GavinS a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/user-error.html.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'template/en/default/global/user-error.html.tmpl') 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 [% sortkey FILTER html %]. + [% ELSIF error == "group_cannot_delete" %] + [% title = "Cannot Delete Group" %] + The [% name FILTER html %] group cannot be deleted because + there are + records + 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. -- cgit v1.2.3-24-g4f1b