aboutsummaryrefslogtreecommitdiff
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.tmpl32
1 files changed, 16 insertions, 16 deletions
diff --git a/template/en/default/reports/old-charts.html.tmpl b/template/en/default/reports/old-charts.html.tmpl
index 12a0cdd83..a958911f4 100644
--- a/template/en/default/reports/old-charts.html.tmpl
+++ b/template/en/default/reports/old-charts.html.tmpl
@@ -7,7 +7,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.
#%]
@@ -15,29 +14,31 @@
[% PROCESS global/header.html.tmpl
title = "$terms.Bug Charts"
h1 = "Welcome to the $terms.Bugzilla Charting Kitchen"
- doc_section = "reporting.html#charts"
+ style_urls = ['skins/standard/buglist.css']
+ doc_section = "using/reports-and-charts.html#charts"
%]
-<div align="center">
- [% IF url_image %]
+[% IF url_image %]
+ <div class="center">
<img src="[% url_image FILTER html %]">
- <br clear="both">
- [% ELSE %]
+ </div>
+[% ELSE %]
<form id="choose_product" method="get" action="reports.cgi">
- <table border="1" cellpadding="5" cellspacing="2">
+ <table id="old_charts">
<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>
+ <td>
+ [% INCLUDE "global/product-select.html.tmpl"
+ id => "product_id"
+ name => "product_id"
+ valueattribute => "id"
+ add => "-All-"
+ %]
</td>
</tr>
<tr>
<th>Chart datasets:</th>
- <td align="center">
+ <td>
<select id="datasets" name="datasets" multiple="multiple" size="5">
[%# We cannot use translated statuses and resolutions from field-descs.none.html
# because old charts do not distinguish statuses from resolutions. %]
@@ -56,7 +57,6 @@
</tr>
</table>
</form>
- [% END %]
-</div>
+[% END %]
[% PROCESS global/footer.html.tmpl %]