summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/products/groupcontrol/updated.html.tmpl
blob: 5ee066c861ef9aa549b974ee4527a8325c901202 (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
33
34
35
36
37
38
39
40
41
42
[%# 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.
  #%]

[%# INTERFACE:
  # product: Bugzilla::Product object; the product.
  # changes: Hashref with changes made to the product group controls.
  #%]

[% title = BLOCK %]
    Update group access controls for [% product.name FILTER html %]
[% END %]

[% PROCESS global/header.html.tmpl
  title = title
%]
<p>
[% IF changes._group_controls.now_na.size %]
  [% FOREACH g = changes._group_controls.now_na %]
    Removing [% terms.bugs %] from group '[% g.name FILTER html %]' which
    no longer applies to this product<p>
    [% g.bug_count FILTER html %] [%+ terms.bugs %] removed<p>
  [% END %]
[% END %]

[% IF changes._group_controls.now_mandatory.size %]
  [% FOREACH g = changes._group_controls.now_mandatory %]
    Adding [% terms.bugs %] to group '[% g.name FILTER html %]' which is 
    mandatory for this product<p>
    [% g.bug_count FILTER html %] [%+ terms.bugs %] added<p>
  [% END %]
[% END %]

Group control updates done<p>

[% PROCESS admin/products/footer.html.tmpl %]

[% PROCESS global/footer.html.tmpl %]