summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/new_comment.html.tmpl
blob: ff2562bf45b9a7edd871de3bfa7cce2e5dbefec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[%# 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
  #%]

<div id="add-comment">
  <div id="add-comment-label">Add Comment:</div>
  [% IF user.is_insider && bug.check_can_change_field('longdesc', 0, 1) %]
    <div id="add-comment-private"
      title="Make comment visible only to members of the '[% Param('insidergroup') FILTER html %]' group"
    >
      <input type="checkbox" name="comment_is_private" id="add-comment-private-cb"
          value="1" comment_id="[% comment.count FILTER none %]">
      <label for="add-comment-private-cb">Private</label>
    </div>
  [% END %]
  <textarea rows="5" cols="80" name="comment" id="comment"></textarea>
  <div id="after-comment-commit-button">
    [% Hook.process("after_comment_commit_button", 'bug/edit.html.tmpl') %]
  </div>
</div>