[%# 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. #%] [%# # comment: comment object # bug: bug object #%]
Add Comment:
[% IF user.is_insider && bug.check_can_change_field('longdesc', 0, 1) %]
[% END %]
[% Hook.process("after_comment_commit_button", 'bug/edit.html.tmpl') %] [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] [% IF user.settings.state_addselfcc.value == 'always'; check_add_self = 1; ELSIF user.settings.state_addselfcc.value == 'cc_unless_role'; check_add_self = !( bug.user.isreporter || bug.assigned_to.id == user.id || (bug.qa_contact && bug.qa_contact.id == user.id) ); ELSE; check_add_self = 0; END; %] [%# this is in a table to match the alignment of the added-by-extensions checkboxes (needinfo, restrict-comments) %]
[% END %]