From 577a3b3540fa2331e41f51cc2a2201ce902df289 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 15 Mar 2006 06:37:16 +0000 Subject: Bug 311422: describecomponents.cgi and enter_bug.cgi need some cleanup - Patch by Frédéric Buclin r=wicked a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/choose-product.html.tmpl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'template/en/default/global/choose-product.html.tmpl') diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl index 078b9b700..346a53751 100644 --- a/template/en/default/global/choose-product.html.tmpl +++ b/template/en/default/global/choose-product.html.tmpl @@ -20,8 +20,11 @@ #%] [%# INTERFACE: - # proddesc: hash. May be empty. The hash keys are the products, and the values - # are their descriptions. + # products: array of product objects. The list of products + # the user can enter bugs into. + # target: the script that displays this template. + # cloned_bug_id: ID of the bug being cloned. + # format: the desired format to display the target. #%] [% PROCESS global/variables.none.tmpl %] @@ -39,18 +42,16 @@ -[% FOREACH p = proddesc.keys.sort %] +[% FOREACH p = products %] - [% IF proddesc.$p %] - - [% END %] + [% END %] -- cgit v1.2.3-24-g4f1b
- - [% p FILTER html %]:  + [% p.name FILTER html %]:  [% proddesc.$p %][% p.description FILTER none %]