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/edit.html.tmpl | 159 ++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 template/en/default/admin/groups/edit.html.tmpl (limited to 'template/en/default/admin/groups/edit.html.tmpl') diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl new file mode 100644 index 000000000..619db777c --- /dev/null +++ b/template/en/default/admin/groups/edit.html.tmpl @@ -0,0 +1,159 @@ +[%# 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: + # group_id: number. The group ID. + # name: string. The name of the group. + # description: string. The description of the group. + # rexp: string. The regular expression for the users of the group. + # isactive: boolean int. Shows if the group is still active. + # isbuggroup: boolean int. Is 1 if this is a bug group. + # groups: array with group objects having the properties: + # - grpid: number. The ID of the group. + # - grpname: string. The name of the group. + # - grpdesc: string. The description of the group. + # - grpmember: boolean int. Is 1 if the current user is a group member. + # - blessmember: boolean int. Is 1 if the current user can bless members + # in the current group. + #%] + + +[% PROCESS global/header.html.tmpl + title = "Change Group" +%] + +
+ + + + + + + + + + + + + + + + + [% IF isbuggroup %] + + + + + [% END %] +
Group: + [% IF isbuggroup %] + + + [% ELSE %] + [% name FILTER html %] + [% END %] +
Description: + [% IF isbuggroup %] + + + [% ELSE %] + [% description FILTER html %] + [% END %] +
User Regexp: + + +
Use For [% terms.Bugs %]: + + +
+ +

+ Users become members of this group in one of three ways: +

    +
  • by being explicity included when the user is edited. +
  • by matching the user regexp above. +
  • by being a member of one of the groups included in this group + by checking the boxes below. +
+

+ + + + + + + + + + + + + + + [% FOREACH group = groups %] + + + + + + + [% END %] +
Members of these groups can grant membership to this group
|Members of these groups are included in this group
||
+ + + + + + [% group.grpnam FILTER html %][% group.grpdesc FILTER html %]
+ + + +

+ + + + +
+

Conversion of groups created with [% terms.Bugzilla %] + versions 2.16 and prior:

+ +
    +
  • Remove all explicit memberships from this group: + +
  • + +
  • Remove all explicit memberships that are included in the above + regular expression: + +
  • +
+
+ + + +

+ +Back to the group list. + +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b