[%# 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 # # (classification fields available if Param('useclassification') is enabled:) # # classification: Bugzilla::Classification object; The classification # the product is in # #%] [% title = BLOCK %]Delete Product '[% product.name FILTER html %]' [% END %] [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] %]
Field | Value | ||
---|---|---|---|
Classification | [% classification.name FILTER html %] | ||
Classification Description | [% IF classification.description %] [% classification.description FILTER html_light %] [% ELSE %] missing [% END %] | ||
Product | [% product.name FILTER html %] | ||
Description | [% product.description FILTER html_light %] | ||
Milestone URL | [% IF product.milestone_url %] [%- product.milestone_url FILTER html %] [% ELSE %] none [% END %] | ||
Closed for [% terms.bugs %] | [% IF product.is_active %] open [% ELSE %] closed [% END %] | ||
[% IF product.components.size > 0 %] Components [% ELSE %] Components [% END %] |
[% IF product.components.size > 0 %]
|
||
[% IF product.versions.size > 0 %] Versions [% ELSE %] Versions [% END %] |
[% IF product.versions.size > 0 %]
[% FOREACH v = product.versions %]
[% v.name FILTER html %]
[% ELSE %]
none
[% END %]
[% END %] |
||
[% IF product.milestones.size > 0 %] Milestones [% ELSE %] Milestones [% END %] |
[% IF product.milestones.size > 0 %]
[% FOREACH m = product.milestones %]
[% m.name FILTER html %]
[% ELSE %]
none
[% END %]
[% END %] |
||
[% terms.Bugs %] | [% IF product.bug_count %] [% product.bug_count FILTER html %] [% ELSE %] none [% END %] |
Sorry, there [% IF product.bug_count > 1 %] are [% product.bug_count FILTER html %] [%+ terms.bugs %] [% ELSE %] is 1 [% terms.bug %] [% END %] outstanding for this product. You must reassign [% IF product.bug_count > 1 %] those [% terms.bugs %] [% ELSE %] that [% terms.bug %] [% END %] to another product before you can delete this one.
[% ELSE %]There [% IF product.bug_count > 1 %] are [% product.bug_count FILTER html %] [%+ terms.bugs %] [% ELSE %] is 1 [% terms.bug %] [% END %] entered for this product! When you delete this product, ALL stored [% terms.bugs %] and their history will be deleted, too.
[% END %] [% END %] [% Hook.process("confirmation") %] [% IF product.bug_count == 0 || Param('allowbugdeletion') %]Do you really want to delete this product?
[% END %] [% PROCESS admin/products/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]