diff options
Diffstat (limited to 'extensions/BMO/template/en/default/global/choose-product.html.tmpl')
-rw-r--r-- | extensions/BMO/template/en/default/global/choose-product.html.tmpl | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/extensions/BMO/template/en/default/global/choose-product.html.tmpl b/extensions/BMO/template/en/default/global/choose-product.html.tmpl index dfa9b5af4..74c9f7b0d 100644 --- a/extensions/BMO/template/en/default/global/choose-product.html.tmpl +++ b/extensions/BMO/template/en/default/global/choose-product.html.tmpl @@ -36,7 +36,10 @@ "extensions/BMO/web/styles/choose_product.css", "extensions/ProdCompSearch/web/styles/prod_comp_search.css", ]; - javascript_urls = [ "extensions/ProdCompSearch/web/js/prod_comp_search.js" ]; + javascript_urls = [ + "extensions/BMO/web/js/new-bug-frequent-comp.js", + "extensions/ProdCompSearch/web/js/prod_comp_search.js", + ]; cgi = Bugzilla.cgi; classification = cgi.param('classification'); @@ -68,6 +71,13 @@ %] </div> +[% IF NOT is_describe %] +<section id="frequent-components" hidden> + <h2>Choose from your most-used components</h2> + <div class="results"></div> +</section> +[% END %] + <section id="product-list"> <h2>or choose from the following selections</h2> @@ -103,10 +113,18 @@ icon="component.png" %] [% INCLUDE easyproduct + name="GeckoView" + icon="firefox_android.png" + %] + [% INCLUDE easyproduct name="Mozilla Localizations" icon="localization.png" %] [% INCLUDE easyproduct + name="Data Platform and Tools" + icon="telemetry.png" + %] + [% INCLUDE easyproduct name="Thunderbird" icon="thunderbird.png" %] @@ -114,10 +132,6 @@ name="SeaMonkey" icon="seamonkey.png" %] - [% INCLUDE easyproduct - name="Data Platform and Tools" - icon="telemetry.png" - %] <section class="product other"> <h3> <a href="[% target FILTER uri %]?full=1 |