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/admin/groups/deleted.html.tmpl | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'template/en/default/admin/groups') diff --git a/template/en/default/admin/groups/deleted.html.tmpl b/template/en/default/admin/groups/deleted.html.tmpl index 2a5c2f870..be067fa3e 100644 --- a/template/en/default/admin/groups/deleted.html.tmpl +++ b/template/en/default/admin/groups/deleted.html.tmpl @@ -23,9 +23,7 @@ #%] [%# INTERFACE: - # gid: number. The group ID. # name: string. The name of the group. - # cantdelete: boolean int. Is 1 if the group couldn't have been deleted. #%] @@ -33,21 +31,7 @@ title = "Deleting group" %] -[% IF cantdelete %] -

- This group cannot be deleted because there are records - in the database which refer to it. All such records - must be removed or altered to remove the reference to this - group before the group can be deleted. -

- -

- View - the list of which records are affected. -

-[% ELSE %] -

The group [% name FILTER html %] has been deleted.

-[% END %] +

The group [% name FILTER html %] has been deleted.

Go back to the group list. -- cgit v1.2.3-24-g4f1b