diff options
author | Byron Jones <bjones@mozilla.com> | 2013-05-06 08:31:38 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-05-06 08:31:38 +0200 |
commit | 3cf96e72e7485278bf3d51719e935b73af04fdf4 (patch) | |
tree | 74fa7fb4516c1adfe567b198c5d5944517a78bdf /extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl | |
parent | e99876edf0c74a0924856ba7e7f988457b18478b (diff) | |
download | bugzilla-3cf96e72e7485278bf3d51719e935b73af04fdf4.tar.gz bugzilla-3cf96e72e7485278bf3d51719e935b73af04fdf4.tar.xz |
Bug 825886: When moving bugs from one product to another, I should be able to keep a security bug private across groups that I'm not a member of
Diffstat (limited to 'extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl')
-rw-r--r-- | extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl index ad8216b47..cc4a8641d 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl @@ -565,7 +565,14 @@ TUI_hide_default('expert_fields'); </tbody> <tbody class="expert_fields"> - [% IF product.groups_available.size %] + [%# exclude the default security from from the groups_available %] + [%# list, as it will be added by the BMO extension %] + [% groups_available = [] %] + [% FOREACH group (product.groups_available) %] + [% NEXT IF group.name == product.default_security_group %] + [% groups_available.push(group) %] + [% END %] + [% IF groups_available.size %] <tr> <th> </th> <td colspan="3"> @@ -583,7 +590,7 @@ TUI_hide_default('expert_fields'); <!-- Checkboxes --> <input type="hidden" name="defined_groups" value="1"> - [% FOREACH group = product.groups_available %] + [% FOREACH group = groups_available %] <input type="checkbox" id="group_[% group.id FILTER html %]" name="groups" value="[% group.name FILTER html %]" [% ' checked="checked"' IF default.groups.contains(group.name) |