From b1833c067980d4b21a0d434d443e20b46cc74d8b Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 10 Apr 2014 14:36:12 +0000 Subject: Backout of Bug 990982 - backport bug 539894 to bmo (Use to group products into classifications in the product drop-down on show_bug.cgi) - Missed file that needed to be deleted. --- .../en/default/global/product-select.html.tmpl | 85 ---------------------- 1 file changed, 85 deletions(-) delete mode 100644 template/en/default/global/product-select.html.tmpl (limited to 'template/en') diff --git a/template/en/default/global/product-select.html.tmpl b/template/en/default/global/product-select.html.tmpl deleted file mode 100644 index fb07b7cd4..000000000 --- a/template/en/default/global/product-select.html.tmpl +++ /dev/null @@ -1,85 +0,0 @@ -[%# 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: - # name: mandatory; field name - # id: optional; field id - # value: optional; default field value/selection - # classes: optional; an array of classes to be added - # onchange: optional; onchange attribute value - # disabled: optional; if true, the field is disabled - # accesskey: optional; accesskey attribute value - # add: optional; prepend menu option for value specified to start of select - # dontchange: optional; prepend menu option for "dontchange" to start of select - # multiple: optional; do multiselect box, value is size (height) of box - # title: optional; extra information to display as a tooltip - # products: optional; an array of custom product names - # isselect: optional; whether the product list should be displayed as a - [% IF add %] - - [% END %] - [% IF dontchange %] - - [% END %] - - [% IF Param('useclassification') %] - [% product_ids = {} %] - [% IF products %] - [% FOREACH p = products %] - [% key = p.id -%] - [% product_ids.$key = p.id -%] - [% END %] - [% END %] - [% FOREACH c = user.get_selectable_classifications %] - [% class_products = [] %] - [% FOREACH p = user.get_selectable_products(c.id) %] - [% NEXT IF (products && !product_ids.exists(p.id)) %] - [% class_products.push(p) %] - [% END %] - [% NEXT UNLESS class_products.size > 0 %] - - [% FOREACH p = class_products %] - - [% END %] - - [% END %] - [% ELSE %] - [% products = user.get_selectable_products UNLESS products %] - [% FOREACH p = products %] - - [% END %] - [% END %] - -[% ELSE %] - [% value.join(', ') FILTER html %] -[% END %] -- cgit v1.2.3-24-g4f1b