summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ProductDashboard')
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl14
1 files changed, 4 insertions, 10 deletions
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl
index 82de063aa..c0c5dc6b2 100644
--- a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl
+++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl
@@ -139,16 +139,10 @@
[% END %]
<strong>Choose product:</strong>
- <select name="product">
- [% FOREACH c = classifications %]
- <optgroup label="[% c.name FILTER html %]">
- [% FOREACH p = c.products %]
- <option value="[% p.name FILTER html %]"
- [% IF p.name == product.name %]selected="selected"[% END %]>
- [% p.name FILTER html %]</option>
- [% END %]</optgroup>
- [% END %]
- </select>
+ [% INCLUDE "global/product-select.html.tmpl"
+ id => "product"
+ name => "product"
+ %]
<select name="bug_status" id="bug_status">
[% statuses = [ { name = 'open', label = "Open $terms.Bugs" },
{ name = 'closed', label = "Closed $terms.Bugs" },