confirm page. Fix typo? Patch by GavinS <bugzilla@chimpychompy.org>. r=kiko, a=myk. git-svn-id: svn://10.0.0.236/trunk@161166 18797224-902f-48f8-a5cc-f745e15eee43
101 lines
3.5 KiB
Cheetah
101 lines
3.5 KiB
Cheetah
[%# 1.0@bugzilla.org %]
|
|
[%# The contents of this file are subject to the Mozilla Public
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/MPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
# implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code is the Bugzilla Bug Tracking System.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape Communications
|
|
# Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s): Dave Miller <justdave@syndicomm.com>
|
|
# Joel Peshkin <bugreport@peshkin.net>
|
|
# Jacob Steenhagen <jake@bugzilla.org>
|
|
# Vlad Dascalu <jocuri@softhome.net>
|
|
#%]
|
|
|
|
[%# INTERFACE:
|
|
# gid: number. The group ID.
|
|
# name: string. The name of the group.
|
|
# description: string. The description of the group.
|
|
# hasusers: boolean int. True if the group includes users in it.
|
|
# hasbugs: boolean int. True if the group includes bugs in it.
|
|
# hasproduct: boolean int. True if the group is binded to a product.
|
|
# buglist: string. The list of bugs included in this group.
|
|
#%]
|
|
|
|
|
|
[% PROCESS global/header.html.tmpl
|
|
title = "Delete group"
|
|
%]
|
|
|
|
<table border="1">
|
|
<tr>
|
|
<th>Id</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
<tr>
|
|
<td>[% gid FILTER html %]</td>
|
|
<td>[% name FILTER html %]</td>
|
|
<td>[% description FILTER html %]</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<form method="post" action="editgroups.cgi">
|
|
[% IF hasusers %]
|
|
<p><b>One or more users belong to this group. You cannot delete
|
|
this group while there are users in it.</b>
|
|
|
|
<br><a href="editusers.cgi?action=list&group=[% gid FILTER html %]">Show
|
|
me which users</a> - <input type="checkbox" name="removeusers">Remove
|
|
all users from this group for me.</p>
|
|
[% END %]
|
|
|
|
[% IF hasbugs %]
|
|
<p><b>One or more [% terms.bug %] reports are visible only to this group.
|
|
You cannot delete this group while any [% terms.bugs %] are using it.</b>
|
|
|
|
<br><a href="buglist.cgi?bug_id=[% buglist FILTER html %]">Show me
|
|
which [% terms.bugs %]</a> - <input type="checkbox" name="removebugs">Remove
|
|
all [% terms.bugs %] from this group restriction for me.</p>
|
|
|
|
<p><b>NOTE:</b> It's quite possible to make confidential [% terms.bugs %]
|
|
public by checking this box. It is <B>strongly</B> suggested
|
|
that you review the [% terms.bugs %] in this group before checking
|
|
the box.</p>
|
|
[% END %]
|
|
|
|
[% IF hasproduct %]
|
|
<p><b>This group is tied to the <U>[% name FILTER html %]</U> product.
|
|
You cannot delete this group while it is tied to a product.</b>
|
|
|
|
<br><input type="checkbox" name="unbind">Delete this group anyway,
|
|
and make the <U>[% name FILTER html %]</U> publicly visible.</p>
|
|
[% END %]
|
|
|
|
<h2>Confirmation</h2>
|
|
|
|
<p>Do you really want to delete this group?</p>
|
|
[% IF (hasusers || hasbugs || hasproduct) %]
|
|
<p><b>You must check all of the above boxes or correct the
|
|
indicated problems first before you can proceed.</b></p>
|
|
[% END %]
|
|
|
|
<p><input type="submit" value="Yes, delete">
|
|
<input type="hidden" name="action" value="delete">
|
|
<input type="hidden" name="group" value="[% gid FILTER html %]">
|
|
</form>
|
|
|
|
Go back to the <a href="editgroups.cgi">group list</a>.
|
|
|
|
[% PROCESS global/footer.html.tmpl %]
|