[%# 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. #%] [% RETURN UNLESS tracking_flags.size %] [% FOREACH type = tracking_flag_types %] [% flag_list = [] %] [% FOREACH flag = tracking_flags %] [% flag_list.push(flag) IF flag.flag_type == type.name %] [% END %] [% IF flag_list.size %] [% IF bug.check_can_change_field('flagtypes.name', 0, 1) %] [% IF user.id && type.collapsed %] (edit) [% END %] [% INCLUDE bug/tracking_flags.html.tmpl flag_list = flag_list %]
[% ELSE %] [% FOREACH flag = flag_list %] [% NEXT IF flag.status == '---' %] [% flag.description FILTER html %]: [% flag.bug_flag.value FILTER html %]
[% END %] [% END %] [% END %] [% END %]