[%# 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): Myk Melez # Mark Bickford #%] [% PROCESS global/variables.none.tmpl %] [% PROCESS "global/js-products.html.tmpl" %] [% IF type.target_type == "bug" %] [% title = BLOCK %]Create Flag Type for [% terms.Bugs %][% END %] [% typeLabelLowerPlural = BLOCK %][% terms.bugs %][% END %] [% typeLabelLowerSingular = BLOCK %][% terms.bug %][% END %] [% ELSE %] [% title = "Create Flag Type for Attachments" %] [% typeLabelLowerPlural = BLOCK %]attachments[% END %] [% typeLabelLowerSingular = BLOCK %]attachment[% END %] [% END %] [% IF last_action == "copy" %] [% title = BLOCK %]Create Flag Type Based on [% type.name FILTER html %][% END %] [% ELSIF last_action == "edit" %] [% title = BLOCK %]Edit Flag Type [% type.name FILTER html %][% END %] [% END %] [% PROCESS global/header.html.tmpl title = title style = " table#form th { text-align: right; vertical-align: baseline; white-space: nowrap; } table#form td { text-align: left; vertical-align: baseline; } " onload="var f = document.forms[0]; selectProduct(f.product, f.component, null, null, '__Any__');" javascript_urls=["js/productform.js"] %]
[% FOREACH category = type.inclusions %] [% END %] [% FOREACH category = type.exclusions %] [% END %] [%# Add a hidden button at the top of the form so that the user pressing "return" # really submit the form, as expected. %]
Name: a short name identifying this type
Description: a comprehensive description of this type
[% INCLUDE global/textarea.html.tmpl name = 'description' minrows = 4 cols = 80 defaultcontent = type.description %]
Category: the products/components to which [% typeLabelLowerPlural %] must (inclusions) or must not (exclusions) belong in order for users to be able to set flags of this type for them
Product/Component:


Inclusions:
[% PROCESS "global/select-menu.html.tmpl" name="inclusion_to_remove" multiple="1" size="7" options=type.inclusions %]
Exclusions:
[% PROCESS "global/select-menu.html.tmpl" name="exclusion_to_remove" multiple="1" size="7" options=type.exclusions %]
Sort Key: a number between 1 and 32767 by which this type will be sorted when displayed to users in a list; ignore if you don't care what order the types appear in or if you want them to appear in alphabetical order
 
 
CC List: if requestable, who should get carbon copied on email notification of requests. This is a comma-separated list of full e-mail addresses which do not need to be [% terms.Bugzilla %] logins. [% IF Param('emailsuffix') %] Note that the configured emailsuffix [% Param('emailsuffix') %] will not be appended to these addresses, so you should add it explicitly if so desired. [% END %]
 
 
Grant Group: the group allowed to grant/deny flags of this type (to allow all users to grant/deny these flags, select no group)
[% PROCESS select selname = "grant_group" %]
Request Group: if flags of this type are requestable, the group allowed to request them (to allow all users to request these flags, select no group)
Note that the request group alone has no effect if the grant group is not defined!
[% PROCESS select selname = "request_group" %]
[% PROCESS global/footer.html.tmpl %] [%############################################################################%] [%# Block for SELECT fields #%] [%############################################################################%] [% BLOCK select %] [% END %]