[%# 1.0@bugzilla.org %] [%# 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): Jack Nerad # Tiago R. Mello # Gabriel S. Oliveira #%] [%# INTERFACE: # product: Bugzilla::Product object; The product # # (classification fields available if Param('useclassification') is enabled:) # # classification: Bugzilla::Classification object; The classification # the product is in # # groups_controls: a hash of group controls related to the product. #%] [% title = BLOCK %]Edit Product[% END %] [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] %]
[% PROCESS "admin/products/edit-common.html.tmpl" %] [% IF Param('usetargetmilestone') %] [% END %]
Edit components: [% IF product.components.size -%] [% FOREACH component = product.components %] [% component.name FILTER html %]:  [% IF component.description %] [% component.description FILTER html_light %] [% ELSE %] description missing [% END %]
[% END %] [% ELSE %] missing [% END %]
Edit versions: [%- IF product.versions.size -%] [% FOREACH v = product.versions %] [% v.name FILTER html %]
[% END %] [% ELSE %] missing [% END %]
Edit milestones: [%- IF product.milestones.size -%] [%- FOREACH m = product.milestones -%] [% m.name FILTER html %]
[% END %] [% ELSE %] missing [% END %]
Edit Group Access Controls: [% IF group_controls.size %] [% FOREACH g = group_controls.values %] [% g.group.name FILTER html %]:  [% IF g.group.isactive %] [% g.membercontrol FILTER html %]/ [% g.othercontrol FILTER html %] [% IF g.entry %], ENTRY[% END %] [% IF g.canedit %], CANEDIT[% END %] [% ELSE %] DISABLED [% END %]
[% END %] [% ELSE %] no groups [% END %]
[% terms.Bugs %]: [% product.bug_count FILTER html %]
[% PROCESS "admin/products/footer.html.tmpl" no_add_product_link = 1 no_edit_product_link = 1 %] [% PROCESS global/footer.html.tmpl %]