[%# 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. #%] [% show_needinfo = 0 %] [% needinfo_requested = 0 %] [% needinfo_from = "" %] [% needinfo_from_any = 0 %] [% FOREACH type = bug.flag_types %] [% IF type.name == 'needinfo' %] [% show_needinfo = 1 %] [% FOREACH flag = type.flags %] [% IF flag.status == '?' %] [% needinfo_requested = 1 %] [% IF flag.requestee.login %] [% needinfo_from = flag.requestee.login %] [% ELSE %] [% needinfo_from_any = 1 %] [% END %] [% END %] [% END %] [% END %] [% END %] [% IF show_needinfo %] [%# Displays NEEDINFO tag in bug header %] [% IF needinfo_requested %] [% END %]