summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/groups
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/groups')
-rw-r--r--template/en/default/admin/groups/confirm-remove.html.tmpl66
-rw-r--r--template/en/default/admin/groups/create.html.tmpl102
-rw-r--r--template/en/default/admin/groups/delete.html.tmpl187
-rw-r--r--template/en/default/admin/groups/edit.html.tmpl249
-rw-r--r--template/en/default/admin/groups/list.html.tmpl168
5 files changed, 0 insertions, 772 deletions
diff --git a/template/en/default/admin/groups/confirm-remove.html.tmpl b/template/en/default/admin/groups/confirm-remove.html.tmpl
deleted file mode 100644
index cdb070d..0000000
--- a/template/en/default/admin/groups/confirm-remove.html.tmpl
+++ /dev/null
@@ -1,66 +0,0 @@
-[%# 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>
- # Max Kanat-Alexander <mkanat@bugzilla.org>
- #%]
-
-[%# INTERFACE:
- # group: The Bugzilla::Group being changed.
- # regexp: the regexp according to which the update is performed.
- #%]
-
-[% IF regexp %]
- [% title = "Confirm: Remove Explicit Members in the Regular Expression?" %]
-[% ELSE %]
- [% title = "Confirm: Remove All Explicit Members?" %]
-[% END %]
-
-[% PROCESS global/header.html.tmpl
- title = title
- doc_section = "groups.html"
-%]
-
-[% IF regexp %]
- <p>This option will remove all users from '[% group.name FILTER html %]'
- whose login names match the regular expression:
- '[% regexp FILTER html %]'</p>
-[% ELSE %]
- <p>This option will remove all explicitly defined users
- from '[% group.name FILTER html %].'</p>
-[% END %]
-
-<p>Generally, you will only need to do this when upgrading groups
- created with [% terms.Bugzilla %] versions 2.16 and earlier. Use
- this option with <b>extreme care</b> and consult the documentation
- for further information.
-</p>
-
-<form method="post" action="editgroups.cgi">
- <input type="hidden" name="group_id" value="[% group.id FILTER html %]">
- <input type="hidden" name="regexp" value="[% regexp FILTER html %]">
- <input type="hidden" name="action" value="remove_regexp">
-
- <input name="token" type="hidden" value="[% token FILTER html %]">
- <input name="confirm" type="submit" value="Confirm">
- <p>Or <a href="editgroups.cgi">return to the Edit Groups page</a>.</p>
-</form>
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/groups/create.html.tmpl b/template/en/default/admin/groups/create.html.tmpl
deleted file mode 100644
index b3ac723..0000000
--- a/template/en/default/admin/groups/create.html.tmpl
+++ /dev/null
@@ -1,102 +0,0 @@
-[%# 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:
- # none
- #%]
-
-[% PROCESS global/header.html.tmpl
- title = "Add group"
- subheader = "This page allows you to define a new user group."
- doc_section = "groups.html#create-groups"
-%]
-
-<form method="post" action="editgroups.cgi">
- <table border="1" cellpadding="4" cellspacing="0"><tr>
- <th>New Name</th>
- <th>New Description</th>
- <th>New User RegExp</th>
- <th>Use For [% terms.Bugs %]</th>
- </tr><tr>
- <td><input size="20" name="name"></td>
- <td><input size="40" name="desc"></td>
- <td><input size="30" name="regexp"></td>
- <td><input type="checkbox" name="isactive" value="1" checked></td>
- </tr>
- <tr>
- <th>Icon URL:</th>
- <td colspan="3"><input type="text" size="70" maxlength="255" id="icon_url" name="icon_url"></td>
- </tr>
- [% Hook.process('field') %]
- </table>
-
- <hr>
-
- <input type="checkbox" id="insertnew" name="insertnew" value="1"
- [% IF Param("makeproductgroups") %] checked[% END %]>
- <label for="insertnew">Insert new group into all existing products.</label>
- <p>
- <input type="submit" id="create" value="Add">
- <input type="hidden" name="action" value="new">
- <input type="hidden" name="token" value="[% token FILTER html %]">
-</form>
-
-<p><b>Name</b> is what is used with the B<!-- blah -->ugzilla->user->in_group()
-function in any customized cgi files you write that use a given group.
-It can also be used by people submitting [% terms.bugs %] by email to
-limit [% terms.abug %] to a certain set of groups.</p>
-
-<p><b>Description</b> is what will be shown in the [% terms.bug %] reports
-to members of the group where they can choose whether
-the [% terms.bug %] will be restricted to others in the same group.</p>
-
-<p>The <b>Use For [% terms.Bugs %]</b> flag determines whether or not the
-group is eligible to be used for [% terms.bugs %]. If you clear this, it will
-no longer be possible for users to add [% terms.bugs %] to this group,
-although [% terms.bugs %] already in the group will remain in the group.
-Doing so is a much less drastic way to stop a group from growing
-than deleting the group would be. <b>Note: If you are creating
-a group, you probably want it to be usable for [% terms.bugs %], in which
-case you should leave this checked.</b></p>
-
-<p><b>User RegExp</b> is optional, and if filled in, will
-automatically grant membership to this group to anyone with an
-email address that matches this regular expression.</p>
-
-<p>
- <b>Icon URL</b> is optional, and is the URL pointing to the icon
- used to identify the group. It may be either a relative URL to the base URL
- of this installation or an absolute URL. This icon will be displayed
- in comments in [% terms.bugs %] besides the name of the author of comments.
-</p>
-
-<p>By default, the new group will be associated with existing
-products. Unchecking the "Insert new group into all existing
-products" option will prevent this and make the group become
-visible only when its controls have been added to a product.</p>
-
-<p>Back to the <a href="./">main [% terms.bugs %] page</a>
-
-or to the <a href="editgroups.cgi">group list</a>.
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl
deleted file mode 100644
index 9d32da4..0000000
--- a/template/en/default/admin/groups/delete.html.tmpl
+++ /dev/null
@@ -1,187 +0,0 @@
-[%# 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>
- # Max Kanat-Alexander <mkanat@bugzilla.org>
- #%]
-
-[%# INTERFACE:
- # group: A Bugzilla::Group object representing the group that is
- # about to be deleted.
- # shared_queries: int; The number of queries being shared with this
- # group.
- #%]
-
-
-[% PROCESS global/header.html.tmpl
- title = "Delete group"
- doc_section = "groups.html"
-%]
-
-<table border="1">
- <tr>
- <th>Id</th>
- <th>Name</th>
- <th>Description</th>
- </tr>
- <tr>
- <td>[% group.id FILTER html %]</td>
- <td>[% group.name FILTER html %]</td>
- <td>[% group.description FILTER html_light %]</td>
- </tr>
-</table>
-
-<form method="post" action="editgroups.cgi">
- [% IF group.members_non_inherited.size %]
- <p><b>[% group.members_non_inherited.size FILTER html %] users belong
- directly to this group. You cannot delete this group while there are
- users in it.</b>
-
- <br><a href="editusers.cgi?action=list&amp;groupid=
- [%- group.id FILTER url_quote %]&amp;grouprestrict=1">Show
- me which users</a> - <label><input type="checkbox" name="removeusers">Remove
- all users from this group for me.</label></p>
- [% END %]
-
- [% IF group.granted_by_direct(constants.GROUP_MEMBERSHIP).size %]
- <p><b>Members of this group inherit membership in the following groups:</b></p>
- <ul>
- [% FOREACH grantor = group.granted_by_direct(constants.GROUP_MEMBERSHIP) %]
- <li>[% grantor.name FILTER html %]</li>
- [% END %]
- </ul>
- [% END %]
-
- [% IF group.bugs.size %]
- <p><b>[% group.bugs.size FILTER html %] [%+ 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?field0-0-0=bug_group&amp;type0-0-0=equals&amp;value0-0-0=
- [%- group.name FILTER url_quote %]">Show me
- which [% terms.bugs %]</a> -
- <label><input type="checkbox" name="removebugs">Remove
- all [% terms.bugs %] from this group restriction for me.</label></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 group.products.size %]
- <p><b>This group is tied to the following products:</b></p>
- [% SET any_hidden = 0 %]
- <ul>
- [% FOREACH data = group.products %]
-
- [% SET active = [] %]
- [% FOREACH control = data.controls.keys.sort %]
- [% NEXT IF !data.controls.$control %]
- [% IF control == 'othercontrol' OR control == 'membercontrol' %]
- [% SWITCH data.controls.$control %]
- [% CASE constants.CONTROLMAPMANDATORY %]
- [% SET type = "Mandatory" %]
- [% CASE constants.CONTROLMAPSHOWN %]
- [% SET type = "Shown" %]
- [% CASE constants.CONTROLMAPDEFAULT %]
- [% SET type = "Default" %]
- [% END %]
- [% active.push("$control: $type") %]
- [% ELSE %]
- [% active.push(control) %]
- [% END %]
- [% END %]
-
- [% SET hidden = 0 %]
- [% IF data.controls.othercontrol == constants.CONTROLMAPMANDATORY
- AND data.controls.membercontrol == constants.CONTROLMAPMANDATORY
- AND data.controls.entry
- %]
- [% SET hidden = 1 %]
- [% END %]
-
- <li><a href="editproducts.cgi?action=editgroupcontrols&amp;product=
- [%- data.product.name FILTER url_quote %]">
- [%- data.product.name FILTER html %]</a>
- ([% active.join(', ') FILTER html %])
- [% IF hidden %]
- <strong>WARNING: This product is currently hidden.
- Deleting this group will make this product publicly visible.
- </strong>
- [% END %]</li>
- [% END %]
- </ul>
-
- <p><label><input type="checkbox" name="unbind">Delete this group anyway,
- and remove these controls.</label></p>
- [% END %]
-
- [% IF group.flag_types.size %]
- <p><b>This group restricts who can make changes to flags of certain types.
- You cannot delete this group while there are flag types using it.</b>
-
- <br><a href="editflagtypes.cgi?action=list&amp;group=
- [%- group.id FILTER url_quote %]">Show
- me which types</a> -
- <label><input type="checkbox" name="removeflags">Remove all
- flag types from this group for me.</label></p>
- [% END %]
-
- [% IF shared_queries %]
- <p>
- <b>There
- [% IF shared_queries > 1 %]
- are [% shared_queries %] saved searches
- [% ELSE %]
- is a saved search
- [% END %]
- being shared with this group.</b>
- If you delete this group,
- [% IF shared_queries > 1 %]
- these saved searches
- [% ELSE %]
- this saved search
- [% END %]
- will fall back to being private again.
- </p>
- [% END %]
-
- <h2>Confirmation</h2>
-
- <p>Do you really want to delete this group?</p>
- [% IF group.users.size || group.bugs.size || group.products.size
- || group.flags.size
- %]
- <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" id="delete" value="Yes, delete">
- <input type="hidden" name="action" value="delete">
- <input type="hidden" name="group" value="[% group.id FILTER html %]">
- <input type="hidden" name="token" value="[% token FILTER html %]">
- </p>
-</form>
-
-Go back to the <a href="editgroups.cgi">group list</a>.
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl
deleted file mode 100644
index f7fd308..0000000
--- a/template/en/default/admin/groups/edit.html.tmpl
+++ /dev/null
@@ -1,249 +0,0 @@
-[%# 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>
- # Max Kanat-Alexander <mkanat@bugzilla.org>
- #%]
-
-[%# INTERFACE:
- # group - A Bugzilla::Group representing the group being edited.
- # *_current - Arrays of Bugzilla::Group objects that show the current
- # values for this group, as far as grants.
- # *_available - Arrays of Bugzilla::Group objects that show the current
- # available values for each grant.
- #%]
-
-[% title = BLOCK %]Change Group: [% group.name FILTER html %][% END %]
-
-[% PROCESS global/header.html.tmpl
- title = title
- doc_section = "groups.html#edit-groups"
- style = "
- .grant_table { border-collapse: collapse; }
- .grant_table td, .grant_table th {
- padding-left: .5em;
- }
- .grant_table td.one, .grant_table th.one {
- border-right: 1px solid black;
- padding-right: .5em;
- }
- "
-%]
-
-<form method="post" action="editgroups.cgi">
- <input type="hidden" name="action" value="postchanges">
- <input type="hidden" name="group_id" value="[% group.id FILTER html %]">
-
- <table border="1" cellpadding="4">
- <tr>
- <th>Group:</th>
- <td>
- [% IF group.is_bug_group %]
- <input type="text" name="name" size="60"
- value="[% group.name FILTER html %]">
- [% ELSE %]
- [% group.name FILTER html %]
- [% END %]
- </td>
- </tr>
-
- <tr>
- <th>Description:</th>
- <td>
- [% IF group.is_bug_group %]
- <input type="text" name="desc" size="70"
- value="[% group.description FILTER html %]">
- [% ELSE %]
- [% group.description FILTER html %]
- [% END %]
- </td>
- </tr>
-
- <tr>
- <th>User Regexp:</th>
- <td>
- <input type="text" name="regexp" size="40"
- value="[% group.user_regexp FILTER html %]">
- </td>
- </tr>
-
- <tr>
- <th>
- Icon URL:
- [% IF group.icon_url %]
- <img src="[% group.icon_url FILTER html %]" alt="[% group.name FILTER html %]">
- [% END %]
- </th>
- <td>
- <input type="text" name="icon_url" size="70" maxlength="255"
- value="[% group.icon_url FILTER html %]">
- </td>
- </tr>
-
- [% IF group.is_bug_group %]
- <tr>
- <th>Use For [% terms.Bugs %]:</th>
- <td>
- <input type="checkbox" name="isactive"
- value="1" [% 'checked="checked"' IF group.is_active %]>
- </td>
- </tr>
- [% END %]
- [% Hook.process('field') %]
- </table>
-
- <h4>Group Permissions</h4>
-
- <table class="grant_table">
- <tr>
- <th class="one">Groups That Are a Member of This Group<br>
- (&quot;Users in <var>X</var> are automatically in
- [%+ group.name FILTER html %]&quot;)</th>
- <th>Groups That This Group Is a Member Of<br>
- (&quot;If you are in [% group.name FILTER html %], you are
- automatically also in...&quot;)</th>
- </tr>
- <tr>
- <td class="one">
- [% PROCESS select_pair name = "members" size = 10
- items_available = members_available
- items_current = members_current %]
- </td>
-
- <td>[% PROCESS select_pair name = "member_of" size = 10
- items_available = member_of_available
- items_current = member_of_current %]</td>
- </tr>
- </table>
-
- <table class="grant_table">
- <tr>
- <th class="one">
- Groups That Can Grant Membership in This Group<br>
- (&quot;Users in <var>X</var> can add other users to
- [%+ group.name FILTER html %]&quot;)
-
- </th>
- <th>Groups That This Group Can Grant Membership In<br>
- (&quot;Users in [% group.name FILTER html %] can add users to...&quot;)
- </th>
- </tr>
- <tr>
- <td class="one">
- [% PROCESS select_pair name = "bless_from" size = 10
- items_available = bless_from_available
- items_current = bless_from_current %]
- </td>
- <td>[% PROCESS select_pair name = "bless_to" size = 10
- items_available = bless_to_available
- items_current = bless_to_current %]
- </td>
- </tr>
- </table>
-
- [% IF Param('usevisibilitygroups') %]
- <table class="grant_table">
- <tr>
- <th class="one">
- Groups That Can See This Group<br>
- (&quot;Users in <var>X</var> can see users in
- [%+ group.name FILTER html %]&quot;)
- </th>
- <th>Groups That This Group Can See<br>
- (&quot;Users in [% group.name FILTER html %] can see users in...&quot;)
- </th>
- </tr>
- <tr>
- <td class="one">
- [% PROCESS select_pair name = "visible_from" size = 10
- items_available = visible_from_available
- items_current = visible_from_current %]
- </td>
- <td>[% PROCESS select_pair name = "visible_to_me" size = 10
- items_available = visible_to_me_available
- items_current = visible_to_me_current %]
- </td>
- </tr>
- </table>
- [% END %]
-
- <input type="submit" value="Update Group">
- <input type="hidden" name="token" value="[% token FILTER html %]">
-</form>
-
-<h4>Mass Remove</h4>
-
-<p>You can use this form to do mass-removal of users from groups.
- This is often very useful if you upgraded from [% terms.Bugzilla %]
- 2.16.</p>
-
-<table><tr><td>
-<form method="post" action="editgroups.cgi">
- <fieldset>
- <legend>Remove all explicit memberships from users whose login names
- match the following regular expression:</legend>
- <input type="text" size="20" name="regexp">
- <input type="submit" value="Remove Memberships">
-
- <p>If you leave the field blank, all explicit memberships in
- this group will be removed.</p>
-
- <input type="hidden" name="action" value="confirm_remove">
- <input type="hidden" name="group_id" value="[% group.id FILTER html %]">
- </fieldset>
-</form>
-</td></tr></table>
-
-<p>Back to the <a href="editgroups.cgi">group list</a>.</p>
-
-[% PROCESS global/footer.html.tmpl %]
-
-[% BLOCK select_pair %]
- <table class="select_pair">
- <tr>
- <th><label for="[% "${name}_add" FILTER html %]">Add<br>
- (select to add)</label></th>
- <th><label for="[% "${name}_remove" FILTER html %]">Current<br>
- (select to remove)</label></th>
- </tr>
- <tr>
- <td>
- <select multiple="multiple" size="[% size FILTER html %]"
- name="[% "${name}_add" FILTER html %]"
- id="[% "${name}_add" FILTER html %]">
- [% FOREACH item = items_available %]
- <option value="[% item.id FILTER html %]">
- [% item.name FILTER html %]</option>
- [% END %]
- </select>
- </td>
- <td>
- <select multiple="multiple" size="[% size FILTER html %]"
- name="[% "${name}_remove" FILTER html %]"
- id="[% "${name}_remove" FILTER html %]">
- [% FOREACH item = items_current %]
- <option value="[% item.id FILTER html %]">
- [% item.name FILTER html %]</option>
- [% END %]
- </select>
- </td>
- </tr>
- </table>
-[% END %]
diff --git a/template/en/default/admin/groups/list.html.tmpl b/template/en/default/admin/groups/list.html.tmpl
deleted file mode 100644
index 1d137dc..0000000
--- a/template/en/default/admin/groups/list.html.tmpl
+++ /dev/null
@@ -1,168 +0,0 @@
-[%# 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:
- # groups: array with group objects having the properties:
- # - id: number. The ID of the group.
- # - name: string. The name of the group.
- # - description: string. The description of the group.
- # - userregexp: string. The user regexp for the given group.
- # - isactive: boolean int. Specifies if the group is active or not.
- # - isbuggroup: boolean int. Specifies if it can be used for bugs.
- #%]
-
-[% PROCESS global/header.html.tmpl
- title = "Edit Groups"
- subheader = "This lets you edit the groups available to put users in."
- doc_section = "groups.html"
-%]
-
-[% edit_contentlink = "editgroups.cgi?action=changeform&amp;group=%%id%%" %]
-[% del_contentlink = "editgroups.cgi?action=del&amp;group=%%id%%" %]
-
-[% columns =
- [{name => 'name'
- heading => 'Name'
- contentlink => edit_contentlink
- }
- {name => 'description'
- heading => 'Description'
- allow_html_content => 1
- }
- {name => 'userregexp'
- heading => 'User RegExp'
- }
- {name => 'is_active_bug_group'
- heading => "Use For $terms.Bugs"
- align => 'center'
- }
- {name => 'type'
- heading => 'Type'
- align => 'center'
- }
- {name => 'action'
- heading => 'Action'
- }
- ]
-%]
-
-[% overrides.is_active_bug_group = {
- 'is_active_bug_group' => {
- "0" => {
- override_content => 1
- content => "&nbsp;"
- }
- "1" => {
- override_content => 1
- content => "X"
- }
- }
- }
-
- overrides.userregexp = {
- 'userregexp' => {
- "" => {
- override_content => 1
- content => "&nbsp;"
- }
- }
- }
-%]
-
-[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", "querysharegroup"] %]
- [% special_group = Param(group) %]
-
- [% IF special_group %]
- [% overrides.action.name.$special_group = {
- override_content => 1
- content => "(used as the '$group')"
- }
- %]
- [% END %]
-[% END %]
-
-[% overrides.action.isbuggroup = {
- "1" => {
- override_content => 1
- content => "Delete"
- override_contentlink => 1
- contentlink => del_contentlink
- }
- }
-
- overrides.type.isbuggroup = {
- "0" => {
- override_content => 1
- content => "system"
- }
- "1" => {
- override_content => 1
- content => "user"
- }
- }
-%]
-
-[% PROCESS admin/table.html.tmpl
- columns = columns
- data = groups
- overrides = overrides
-%]
-
-<p><a href="editgroups.cgi?action=add">Add Group</a></p>
-
-<p>
- <b>Name</b> is what is used with the B<!-- blah -->ugzilla->user->in_group()
-function in any customized cgi files you write that use a given group.
-It can also be used by people submitting [% terms.bugs %] by email to
-limit [% terms.abug %] to a certain set of groups.
-</p>
-
-<p>
- <b>Description</b> is what will be shown in the [% terms.bug %] reports
-to members of the group where they can choose whether the [% terms.bug %]
-will be restricted to others in the same group.
-</p>
-
-<p>
- <b>User RegExp</b> is optional, and if filled in, will automatically
-grant membership to this group to anyone with an email address
-that matches this perl regular expression. Do not forget
-the trailing '$'. Example '@mycompany\.com$'
-</p>
-
-<p>
- The <b>Use For [% terms.Bugs %]</b> flag determines whether or not
-the group is eligible to be used for [% terms.bugs %]. If you remove
-this flag, it will no longer be possible for users to add [% terms.bugs %]
-to this group, although [% terms.bugs %] already in the group will remain
-in the group. Doing so is a much less drastic way to stop a group
-from growing than deleting the group as well as a way to maintain
-lists of users without cluttering the lists of groups used
-for [% terms.bug %] restrictions.
-</p>
-
-<p>
- The <b>Type</b> field identifies system groups.
-</p>
-
-[% PROCESS global/footer.html.tmpl %]