diff options
author | David Lawrence <dkl@mozilla.com> | 2014-04-10 16:29:25 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-04-10 16:29:25 +0200 |
commit | a2689d0747d489c5d6f1b073a829df7d69357bda (patch) | |
tree | 5766084111249223f20337ecfdac5d74af777bd5 /extensions | |
parent | 13408dc745948de52f0dc6f1a3e7080a39289ab4 (diff) | |
download | bugzilla-a2689d0747d489c5d6f1b073a829df7d69357bda.tar.gz bugzilla-a2689d0747d489c5d6f1b073a829df7d69357bda.tar.xz |
Backout of Bug 990982 - backport bug 539894 to bmo (Use <optgroup/> to group products into classifications in the product drop-down on show_bug.cgi)
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl index c0c5dc6b2..ac588ac26 100644 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl @@ -139,10 +139,16 @@ [% END %] <strong>Choose product:</strong> - [% INCLUDE "global/product-select.html.tmpl" - id => "product" - name => "product" - %] + <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> <select name="bug_status" id="bug_status"> [% statuses = [ { name = 'open', label = "Open $terms.Bugs" }, { name = 'closed', label = "Closed $terms.Bugs" }, |