[%# 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.
#%]
[% mentor_logins = [] %]
[% FOREACH mentor = bug.mentors %]
[% mentor_logins.push(mentor.login) %]
[% END %]
Mentors:
[% IF bug.check_can_change_field("bug_mentors", 0, 1) %]
[% FOREACH mentor = bug.mentors %]
[% INCLUDE global/user.html.tmpl who = mentor %]
[% " " UNLESS loop.last %]
[% END %]
(edit)
[% INCLUDE global/userselect.html.tmpl
id = "bug_mentors"
name = "bug_mentors"
value = mentor_logins.join(", ")
classes = ["bz_userfield"]
size = 30
multiple = 5
%]
[% ELSE %]
[% FOREACH mentor = bug.mentors %]
[% INCLUDE global/user.html.tmpl who = mentor %]
[% END %]
[% END %]