[%# 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. #%] [%# # type: tracking flag type (e.g. "project", "tracking") #%] [% flags = []; set_flags = []; FOREACH flag IN tracking_flags; NEXT UNLESS flag.flag_type == type; flags.push(flag); NEXT IF flag.bug_flag(bug.id).value == "---"; set_flags.push(flag); END; RETURN UNLESS flags.size; %] [%# view %] [% IF set_flags.size %]
| Tracking | Status | |
|---|---|---|
| [% row.name FILTER html %] | [% IF type == "tracking" %][% IF tracking_value != '---' %] [% END %] [%~ tracking_value FILTER html ~%] [% '' IF tracking_value != '---' %] | [% END %][% IF status_value != '---' %] [% END %] [%~ status_value FILTER html ~%] [% '' IF status_value != '---' %] |