[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # Contributor(s): André Batosti # #%] [%# 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 %]

[% 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

[% g.bug_count FILTER html %] [%+ terms.bugs %] removed

[% 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

[% g.bug_count FILTER html %] [%+ terms.bugs %] added

[% END %] [% END %] Group control updates done

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