[%# 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 # Frédéric Buclin #%] [% PROCESS "global/js-products.html.tmpl" %] [% IF action == "insert" %] [% title = BLOCK %] Create Flag Type for [% type.target_type == "bug" ? terms.Bugs : "Attachments" %] [% IF type.id %] Based on [% type.name FILTER html %] [% END %] [% END %] [% doc_section = "flags-overview.html#flags-create" %] [% ELSE %] [% title = BLOCK %]Edit Flag Type [% type.name FILTER html %][% END %] [% doc_section = "flags-overview.html#flags-edit" %] [% 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['flagtype_properties']; selectProduct(f.product, f.component, null, null, '__Any__');" javascript_urls=["js/productform.js"] doc_section = doc_section %]
[% FOREACH category = inclusions.values %] [% END %] [% FOREACH category = exclusions.values %] [% 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 disabled = !can_fully_edit %]
Category: the products/components to which [% type.target_type == "bug" ? terms.bugs : "attachments" %] must (inclusions) or must not (exclusions) belong in order for users to be able to set flags of this type for them. [% UNLESS can_fully_edit %]

This flagtype also applies to some products you are not allowed to edit (and so which are not displayed in the lists below). Your limited privileges means you are only allowed to add and remove this flagtype to/from products you can edit, but not to edit other properties of the flagtype.

[% END %]
Product/Component:


Inclusions:
[% PROCESS category_select name="inclusion_to_remove" categories = inclusions %]
Exclusions:
[% PROCESS category_select name="exclusion_to_remove" categories = exclusions %]
Sort Key: a number between 1 and [% constants.MAX_SMALLINT FILTER none %] 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 group_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 group_select selname = "request_group" %]
 
[% PROCESS global/footer.html.tmpl %] [%############################################################################%] [%# Block for SELECT fields #%] [%############################################################################%] [% BLOCK group_select %] [% END %] [% BLOCK category_select %] [% END %]