From ac8796ba2733be5e0e618148ee12488cc567d34e Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Tue, 13 Jul 2004 12:12:29 +0000 Subject: Patch for bug 190222: templatize editgroups.cgi; r=joel, a=justdave. --- template/en/default/admin/groups/delete.html.tmpl | 100 ++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 template/en/default/admin/groups/delete.html.tmpl (limited to 'template/en/default/admin/groups/delete.html.tmpl') diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl new file mode 100644 index 000000000..0e17cbb1c --- /dev/null +++ b/template/en/default/admin/groups/delete.html.tmpl @@ -0,0 +1,100 @@ +[%# 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 + # 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. + # buglist: string. The list of bugs included in this group. + #%] + + +[% PROCESS global/header.html.tmpl + title = "Delete group" +%] + + + + + + + + + + + + +
IdNameDescription
[% gid FILTER html %][% name FILTER html %][% desc FILTER html %]
+ +
+ [% 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 [% name FILTER html %] publicly visible.

+ [% END %] + +

Confirmation

+ +

Do you really want to delete this group?

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

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 %] -- cgit v1.2.3-24-g4f1b