diff options
author | bugreport%peshkin.net <> | 2002-11-25 03:56:17 +0000 |
---|---|---|
committer | bugreport%peshkin.net <> | 2002-11-25 03:56:17 +0000 |
commit | c64d51111a5ae02d6fc45163a847d0b7e2004548 (patch) | |
tree | fd7a0cb912e4411573faa5305df4d4971a3b6dda /template/en/default/admin/products/groupcontrol/edit.html.tmpl | |
parent | e7720dcdd4e332c096a310c53412d3acaacd381e (diff) | |
download | bugs-c64d51111a5ae02d6fc45163a847d0b7e2004548.tar bugs-c64d51111a5ae02d6fc45163a847d0b7e2004548.tar.gz bugs-c64d51111a5ae02d6fc45163a847d0b7e2004548.tar.bz2 bugs-c64d51111a5ae02d6fc45163a847d0b7e2004548.tar.xz bugs-c64d51111a5ae02d6fc45163a847d0b7e2004548.zip |
Bug 147275 Rearchitect product groups
Patch by joel
r=bbaetz,justdave
a=justdave
Diffstat (limited to 'template/en/default/admin/products/groupcontrol/edit.html.tmpl')
-rw-r--r-- | template/en/default/admin/products/groupcontrol/edit.html.tmpl | 284 |
1 files changed, 284 insertions, 0 deletions
diff --git a/template/en/default/admin/products/groupcontrol/edit.html.tmpl b/template/en/default/admin/products/groupcontrol/edit.html.tmpl new file mode 100644 index 000000000..11bb99de5 --- /dev/null +++ b/template/en/default/admin/products/groupcontrol/edit.html.tmpl @@ -0,0 +1,284 @@ +<!-- 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): Joel Peshkin <bugreport@peshkin.net> + #%] + + +[% filt_product = product FILTER html %] +[% PROCESS global/header.html.tmpl + title = "Edit Group Controls for '$filt_product'" +%] + +<form method="post" action="editproducts.cgi"> + <input type="hidden" name="action" value="updategroupcontrols"> + <input type="hidden" name="product" value="[% filt_product %]"> + + <table id="form" cellspacing="0" cellpadding="4" border="1"> + <tr bgcolor="#6666ff"> + <th>Group</th> + <th>Entry</th> + <th>MemberControl</th> + <th>OtherControl</th> + <th>Canedit</th> + <th>Bugs</th> + </tr> + [% FOREACH group = groups %] + [% IF group.isactive == 0 AND group.bugcount > 0 %] + <tr bgcolor="#bbbbbb"> + <td> + [% group.name FILTER html %] + </td> + <td align="center" colspan=4> + Disabled + </td> + <td> + [% group.bugcount %] + </td> + <tr> + [% ELSIF group.isactive != 0 %] + <tr> + <td> + [% group.name FILTER html %] + </td> + <td> + <input type=checkbox value=1 name=entry_[% group.id %] + [% " checked=\"checked\"" IF group.entry %]> + </td> + <td> + <select name="membercontrol_[% group.id %]"> + <option value=[% const.CONTROLMAPNA %] + [% " selected=\"selected\"" + IF group.membercontrol == const.CONTROLMAPNA %] + >NA + </option> + <option value=[% const.CONTROLMAPSHOWN %] + [% " selected=\"selected\"" + IF group.membercontrol == const.CONTROLMAPSHOWN %] + >Shown + </option> + <option value=[% const.CONTROLMAPDEFAULT %] + [% " selected=\"selected\"" + IF group.membercontrol == const.CONTROLMAPDEFAULT %] + >Default + </option> + <option value=[% const.CONTROLMAPMANDATORY %] + [% " selected=\"selected\"" + IF group.membercontrol == const.CONTROLMAPMANDATORY %] + >Mandatory + </option> + </select> + </td> + <td> + <select name="othercontrol_[% group.id %]"> + <option value=[% const.CONTROLMAPNA %] + [% " selected=\"selected\"" + IF group.othercontrol == const.CONTROLMAPNA %] + >NA + </option> + <option value=[% const.CONTROLMAPSHOWN %] + [% " selected=\"selected\"" + IF group.othercontrol == const.CONTROLMAPSHOWN %] + >Shown + </option> + <option value=[% const.CONTROLMAPDEFAULT %] + [% " selected=\"selected\"" + IF group.othercontrol == const.CONTROLMAPDEFAULT %] + >Default + </option> + <option value=[% const.CONTROLMAPMANDATORY %] + [% " selected=\"selected\"" + IF group.othercontrol == const.CONTROLMAPMANDATORY %] + >Mandatory + </option> + </select> + </td> + <td> + <input type=checkbox value=1 name=canedit_[% group.id %] + [% " checked=\"checked\"" IF group.canedit %]> + </td> + <td> + [% group.bugcount %] + </td> + </tr> + [% END %] + [% END %] + + </table> + <br> + <input type=submit name="submit" value="submit"> + <br> +</form> + + +<p> +These settings control the relationship of the groups to this +product. +<p> +If any group has <b>Entry</b> selected, then this product will +restrict bug entry to only those users who are members of all the +groups with entry selected. +<p> +If any group has <b>Canedit</b> selected, then this product +will be read-only for any users who are not members of all of +the groups with Canedit selected. ONLY users who are members of +all the canedit groups will be able to edit. This is an additional +restriction that further restricts what can be edited by a user. +<p> +The <b>MemberControl</b> and <b>OtherControl</b> fields +indicate which bugs will be placed in +this group according to the following definitions. +<br> +<table border=1> + <tr> + <th> + MemberControl + </th> + <th> + OtherControl + </th> + <th> + Interpretation + </th> + </tr> + <tr> + <td> + NA + </td> + <td> + NA + </td> + <td> + Bugs in this product are never associated with this group. + </td> + </tr> + <tr> + <td> + Shown + </td> + <td> + NA + </td> + <td> + Bugs in this product are permitted to be restricted to this + group. Users who are a member of this group will be able + to place bugs in this group. + </td> + </tr> + <tr> + <td> + Shown + </td> + <td> + Shown + </td> + <td> + Bugs in this product can be placed in this group by anyone + with permission to edit the bug even if they are not a member + of this group. + </td> + </tr> + <tr> + <td> + Shown + </td> + <td> + Default + </td> + <td> + Bugs in this product can be placed in this group by anyone + with permission to edit the bug even if they are not a member + of this group. Non-members place bugs in this group by default. + </td> + </tr> + <tr> + <td> + Shown + </td> + <td> + Mandatory + </td> + <td> + Bugs in this product are permitted to be restricted to this + group. Users who are a member of this group will be able + to place bugs in this group. + Non-members will be forced to restrict bugs to this group + when they initially enter a bug in this product. + </td> + </tr> + <tr> + <td> + Default + </td> + <td> + NA + </td> + <td> + Bugs in this product are permitted to be restricted to this + group and are placed in this group by default. + Users who are a member of this group will be able + to place bugs in this group. + </td> + </tr> + <tr> + <td> + Default + </td> + <td> + Default + </td> + <td> + Bugs in this product are permitted to be restricted to this + group and are placed in this group by default. + Users who are a member of this group will be able + to place bugs in this group. Non-members will be able to + restrict bugs to this group on entry and will do so by default + </td> + </tr> + <tr> + <td> + Default + </td> + <td> + Mandatory + </td> + <td> + Bugs in this product are permitted to be restricted to this + group and are placed in this group by default. + Users who are a member of this group will be able + to place bugs in this group. Non-members will be forced + to place bugs in this group on entry. + </td> + </tr> + <tr> + <td> + Mandatory + </td> + <td> + Mandatory + </td> + <td> + Bugs in this product are required to be restricted to this + group. Users are not given any option. + </td> + </tr> +</table> + + +[% PROCESS global/footer.html.tmpl %] + |