[%# 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 # Joel Peshkin # Jacob Steenhagen # Vlad Dascalu #%] [%# 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. # hasflags: boolean int. True if the group is used by a flag type. # shared_queries: int. Number of saved searches being shared with this group. # buglist: string. The list of bugs included in this group. #%] [% PROCESS global/header.html.tmpl title = "Delete group" doc_section = "groups.html" %]
Id Name Description
[% gid FILTER html %] [% name FILTER html %] [% description FILTER html_light %]
[% IF hasusers %]

One or more users belong to this group. You cannot delete this group while there are users in it.
Show me which users - Remove all users from this group for me.

[% END %] [% IF hasbugs %]

One or more [% terms.bug %] reports are visible only to this group. You cannot delete this group while any [% terms.bugs %] are using it.
Show me which [% terms.bugs %] - Remove all [% terms.bugs %] from this group restriction for me.

NOTE: It's quite possible to make confidential [% terms.bugs %] public by checking this box. It is strongly suggested that you review the [% terms.bugs %] in this group before checking the box.

[% END %] [% IF hasproduct %]

This group is tied to the [% name FILTER html %] product. You cannot delete this group while it is tied to a product.
Delete this group anyway, and make the product [% name FILTER html %] publicly visible.

[% END %] [% IF hasflags %]

This group restricts who can make changes to flags of certain types. You cannot delete this group while there are flag types using it.
Show me which types - Remove all flag types from this group for me.

[% END %] [% IF shared_queries %]

There [% IF shared_queries > 1 %] are [% shared_queries %] saved searches [% ELSE %] is a saved search [% END %] being shared with this group. If you delete this group, [% IF shared_queries > 1 %] these saved searches [% ELSE %] this saved search [% END %] will fall back to being private again.

[% END %]

Confirmation

Do you really want to delete this group?

[% IF (hasusers || hasbugs || hasproduct || hasflags) %]

You must check all of the above boxes or correct the indicated problems first before you can proceed.

[% END %]

Go back to the group list. [% PROCESS global/footer.html.tmpl %]