summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/old-charts.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports/old-charts.html.tmpl')
-rw-r--r--template/en/default/reports/old-charts.html.tmpl11
1 files changed, 5 insertions, 6 deletions
diff --git a/template/en/default/reports/old-charts.html.tmpl b/template/en/default/reports/old-charts.html.tmpl
index 4bdc0cffa..2f50b31c6 100644
--- a/template/en/default/reports/old-charts.html.tmpl
+++ b/template/en/default/reports/old-charts.html.tmpl
@@ -14,7 +14,6 @@
#%]
[%# INTERFACE:
- # products: an array of product names the user is allowed to view.
# datasets: an array of hashes with available statuses and resolutions.
# url_image: URL of the generated graph.
#%]
@@ -37,11 +36,11 @@
<tr>
<th>Product:</th>
<td align="center">
- <select id="product" name="product">
- [% FOREACH product = products %]
- <option value="[% product FILTER html %]">[% product FILTER html %]</option>
- [% END %]
- </select>
+ [% INCLUDE "global/product-select.html.tmpl"
+ id => "product"
+ name => "product"
+ add => "-All-"
+ %]
</td>
</tr>
<tr>