summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard/template
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-04-07 16:42:08 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-04-07 16:42:08 +0200
commitf3f8239ff36c892c0437fc8054a68e07d7ca0020 (patch)
tree3eb1e9f4ddde3f0e434927bfe285fb5ede1f8659 /extensions/ProductDashboard/template
parent818b908a18de4862f060c64ad12f779ac8480f01 (diff)
downloadbugzilla-f3f8239ff36c892c0437fc8054a68e07d7ca0020.tar.gz
bugzilla-f3f8239ff36c892c0437fc8054a68e07d7ca0020.tar.xz
Bug 990982 - backport bug 539894 to bmo (Use <optgroup/> to group products into classifications in the product drop-down on show_bug.cgi)
r=glob
Diffstat (limited to 'extensions/ProductDashboard/template')
-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" },