diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-09-24 21:55:28 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-09-24 21:55:28 +0200 |
commit | b3ad67dc224403c463fbea5ddb5f01dcacf3cb02 (patch) | |
tree | bfaf21cf064c0b41efd68dbe678baf182ce802d1 /extensions/BMO/template/en/default/global/choose-product.html.tmpl | |
parent | 8047b0395f5175da934f3aaf09b15a15d83da755 (diff) | |
download | bugzilla-b3ad67dc224403c463fbea5ddb5f01dcacf3cb02.tar.gz bugzilla-b3ad67dc224403c463fbea5ddb5f01dcacf3cb02.tar.xz |
Bug 1473417 - Show often/recently used products/components on New Bug page
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 | 12 |
1 files changed, 11 insertions, 1 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 163c71f5c..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> |