summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags/template/en/default/hook/bug/create/create-project_flags_end.html.tmpl
blob: 662bc26ee133989200fbbd08f41559baf1d3d626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[%# 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 IF NOT tracking_flags.size %]

[% flag_list = [] %]
[% FOREACH flag = tracking_flags %]
  [% NEXT IF flag.flag_type != 'project' %]
  [% flag_list.push(flag) %]
[% END %]
[% INCLUDE bug/tracking_flags.html.tmpl
   flag_list = flag_list
   new_bug   = 1 %]