[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% js_data = BLOCK %] var useclassification = false; var first_load = true; var last_sel = []; var cpts = new Array(); [% n = 1 %] [% FOREACH p = user.get_selectable_products %] cpts['[% n FILTER js %]'] = [ [%- FOREACH c = p.components %]'[% c.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% n = n+1 %] [% END %] var selected_components = [ [%- FOREACH c = input.component %]'[% c FILTER js %]' [%- ',' UNLESS loop.last %] [%- END ~%] ]; [% END %] [% PROCESS global/header.html.tmpl title = "Release Tracking Flags" javascript = js_data javascript_urls = [ 'extensions/TrackingFlags/web/js/admin.js', 'js/productform.js' ] style_urls = [ 'extensions/TrackingFlags/web/styles/admin.css' ] %]
[% IF mode == 'edit' %] Editing [% flag.name FILTER html %]. [% ELSE %] New flag [% END %]
[%# name/desc/etc %] [% IF mode == 'edit' %] [% END %]
Flag
Name database field name
Description visible name
Type flag type used for grouping
Sort Key [ +5 | -5 ]
Enter [% terms.Bug %] can be set on [% terms.bug %] creation
Active
[% terms.Bug %] Count [% flag.bug_count FILTER html %]
[%# values %]
Values
Value Setter Active
[ New Value ]
[%# visibility %]
Visibility
Product Component
[ Add ]
[%# submit %]
[% IF mode == "edit" && !flag.bug_count %] [% END %]

Return to the list of Tracking Flags.

[% INCLUDE global/footer.html.tmpl %]