[%# 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 #%]
[% IF !bug.check_can_change_field('longdesc', 0, 1) %]
You are not allowed to make an additional comment on this [% terms.bug %].
[% RETURN %] [% END %] [% IF user.is_insider %]
[% END %]
Comments Subject to Etiquette and Contributor Guidelines
[% Hook.process("after_comment_commit_button", 'bug/edit.html.tmpl') %] [%# this checkboxes are in tables to match the alignment of the added-by-extensions checkboxes (needinfo, restrict-comments) %] [% IF NOT bug.cc || NOT bug.cc.contains(user.login); hide_add_self = 0; ELSE; hide_add_self = 1; END; 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; %]