diff options
author | lpsolit%gmail.com <> | 2006-03-15 06:37:16 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-15 06:37:16 +0000 |
commit | 577a3b3540fa2331e41f51cc2a2201ce902df289 (patch) | |
tree | c96a82490c6640d98c299bfdf7c09a8c01aae4e2 /template/en/default/global | |
parent | 0f3a9f4b320a7068a9f776b3e0ea4dad3df3d448 (diff) | |
download | bugs-577a3b3540fa2331e41f51cc2a2201ce902df289.tar bugs-577a3b3540fa2331e41f51cc2a2201ce902df289.tar.gz bugs-577a3b3540fa2331e41f51cc2a2201ce902df289.tar.bz2 bugs-577a3b3540fa2331e41f51cc2a2201ce902df289.tar.xz bugs-577a3b3540fa2331e41f51cc2a2201ce902df289.zip |
Bug 311422: describecomponents.cgi and enter_bug.cgi need some cleanup - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=myk
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/choose-product.html.tmpl | 17 |
1 files changed, 9 insertions, 8 deletions
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 @@ <table> -[% FOREACH p = proddesc.keys.sort %] +[% FOREACH p = products %] <tr> <th align="right" valign="top"> - <a href="[% target %]?product=[% p FILTER url_quote -%] + <a href="[% target %]?product=[% p.name FILTER url_quote -%] [%- IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%] [%- IF format %]&format=[% format FILTER url_quote %][% END %]"> - [% p FILTER html %]</a>: + [% p.name FILTER html %]</a>: </th> - [% IF proddesc.$p %] - <td valign="top">[% proddesc.$p %]</td> - [% END %] + <td valign="top">[% p.description FILTER none %]</td> </tr> [% END %] |