summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
blob: 0a3b75262ebb328f403663f942e5d758e61a32af (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
30
31
32
  <tr>
    <th>Security:</th>
    <td colspan="3">
      [% sec_group = sec_groups.${product.name} || sec_groups._default %]
      [% PROCESS group_checkbox
                 name = sec_group
                 desc = "Many users could be harmed by this security problem: " _
                        "it should be kept hidden from the public until it is resolved."
      %]
      [% IF user.in_group('partner-confidential-visible') %]
        [% PROCESS group_checkbox
                   name = 'partner-confidential'
                   desc = "Restrict the visiblity of this " _ terms.bug _ " to " _
                          "the assignee, QA contact, and CC list only."
        %]
      [% END %]
      <br>
    </td>
  </tr>

[% BLOCK group_checkbox %]
  <input type="checkbox" name="groups"
         value="[% name FILTER none %]" id="group_[% name FILTER html %]"
    [% FOREACH g = group %]
      [% IF g.name == name %]
        [% ' checked="checked"' IF g.checked %]
        [% LAST %]
      [% END %]
    [% END %]
  >
  <label for="group_[% name FILTER html %]">[% desc FILTER html %]</label><br>
[% END %]