[%# 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 # Frédéric Buclin #%] [% PROCESS "global/js-products.html.tmpl" %] [% PROCESS global/header.html.tmpl title = 'Administer Flag Types' style = " table#flag_types_bugs tr th, table#flag_types_attachments tr th { text-align: left; } .inactive { color: #787878; } .multiplicable { display: block; } " onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');" javascript_urls=["js/productform.js"] doc_section = "flags-overview.html#flag-types" %]

Flags are markers that identify whether [% terms.abug %] or attachment has been granted or denied some status. Flags appear in the UI as a name and a status symbol ("+" for granted, "-" for denied, and "?" for statuses requested by users).

For example, you might define a "review" status for users to request review for their patches. When a patch writer requests review, the string "review?" will appear in the attachment. When a patch reviewer reviews the patch, either the string "review+" or the string "review-" will appear in the patch, depending on whether the patch passed or failed review.

You can restrict the list of flag types to those available for a given product and component. If a product is selected with no component, only flag types which are available to at least one component of the product are shown.

Flag Types for [% terms.Bugs %]

[% PROCESS display_flag_types types=bug_types types_id='bugs' %]

Create Flag Type for [% terms.Bugs %]

Flag Types for Attachments

[% PROCESS display_flag_types types=attachment_types types_id='attachments' %]

Create Flag Type For Attachments

[% PROCESS global/footer.html.tmpl %] [% BLOCK display_flag_types %] [% IF show_flag_counts %] [%# Note to translators: translate the strings in quotes only. %] [% state_desc = {granted = 'granted' denied = 'denied' pending = 'pending'} %] [% END %] [% FOREACH type = types %] [% IF show_flag_counts %] [% END %] [% END %]
Edit name ... Description Sortkey Properties Grant group Request groupFlagsActions
[% type.name FILTER html FILTER no_break %] [% type.description FILTER html %] [% type.sortkey FILTER html %] [% IF type.is_requestable %] requestable [% END %] [% IF type.is_requestable && type.is_requesteeble %] (specifically) [% END %] [% IF type.is_multiplicable %] multiplicable [% END %] [% IF type.grant_group %][% type.grant_group.name FILTER html %][% END %] [% IF type.request_group %][% type.request_group.name FILTER html %][% END %] [% FOREACH state = ['granted', 'pending', 'denied'] %] [% bug_list = bug_lists.${type.id}.$state || [] %] [% IF bug_list.size %] [% bug_list.size FILTER html %] [%+ state_desc.$state FILTER html %]
[% ELSE %] 0 [% state_desc.$state FILTER html %]
[% END %] [% END %]
Copy | Delete
[% END %]