diff options
author | lpsolit%gmail.com <> | 2006-03-09 08:53:56 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-09 08:53:56 +0100 |
commit | efacaaf6ee6b79fca5f256bc29c338b9e51e8c5d (patch) | |
tree | b489c7f5292b4c6519ea2b3d5fd855359bba3003 /template/en/default/admin/groups | |
parent | 3cacaab9c9b2d09970fcf901d554d06f0ef16ce2 (diff) | |
download | bugzilla-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/admin/groups')
-rw-r--r-- | template/en/default/admin/groups/deleted.html.tmpl | 18 |
1 files changed, 1 insertions, 17 deletions
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 %] - <p> - 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. - </p> - - <p> - <a href="editgroups.cgi?action=del&group=[% gid FILTER url_quote %]">View</a> - the list of which records are affected. - </p> -[% ELSE %] - <p><b>The group [% name FILTER html %] has been deleted.</b></p> -[% END %] +<p>The group [% name FILTER html %] has been deleted.</p> <p>Go back to the <a href="editgroups.cgi">group list</a>. |