[%# 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: # classification: string; name of classification product is in. # product: an array of product objects. # components: an array of component object(s) related to the product. # groups: an array of group objects related to the product. # versions: an array of version objects related to product. # milestones: an array of milestones objects related to product. # bug_count: integer; number of bugs in this product. #%] [% title = BLOCK %]Edit Product[% END %] [% PROCESS global/header.html.tmpl title = title %]
[% PROCESS "admin/products/edit-common.html.tmpl" %] [% IF Param('usetargetmilestone') %] [% END %]
Edit components: [% IF components.size -%] [% FOREACH component = components %] [% component.name FILTER html %]:  [% IF component.description %] [% component.description FILTER none %] [% ELSE %] description missing [% END %]
[% END %] [% ELSE %] missing [% END %]
Edit versions: [%- IF versions.size -%] [% FOREACH v = versions %] [% v FILTER html %]
[% END %] [% ELSE %] missing [% END %]
Edit milestones: [%- IF milestones.size -%] [%- FOREACH m = milestones -%] [% m FILTER html %]
[% END %] [% ELSE %] missing [% END %]
Edit Group Access Controls: [% IF groups.size %] [% FOREACH g = groups %] [% g.name FILTER html %]:  [% IF g.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 %]: [% bug_count FILTER html %]
[% PROCESS "admin/products/footer.html.tmpl" no_add_product_link = 1 %] [% PROCESS global/footer.html.tmpl %]