diff options
author | Guy Pyrzak <guy.pyrzak@gmail.com> | 2010-08-29 23:19:27 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-08-29 23:19:27 +0200 |
commit | 840bfeae940b12f848ef01a06c8e349c0b7c41d3 (patch) | |
tree | e428c608ad79ff346350dae20b56e336a5b3c049 /template/en/default/search/boolean-charts.html.tmpl | |
parent | 153d2be457ffff521dfccbb1e7c3d325c50412ca (diff) | |
download | bugzilla-840bfeae940b12f848ef01a06c8e349c0b7c41d3.tar.gz bugzilla-840bfeae940b12f848ef01a06c8e349c0b7c41d3.tar.xz |
Bug 571637: Put the Custom Search (formerly "Boolean Charts") UI behind
a show/hide widget
r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/search/boolean-charts.html.tmpl')
-rw-r--r-- | template/en/default/search/boolean-charts.html.tmpl | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index 8fc7457bc..6a94b3f1a 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -48,13 +48,18 @@ "matches", "notmatches", ] %] - - <h3 id="chart"> - Custom Search <span class="section_help">Didn't find what +<script type="text/javascript"> + TUI_alternates['custom_search_query'] = '►'; + TUI_hide_default('custom_search_query'); +</script> +<div class="bz_section_title" id="custom_search_filter"> + <div id="custom_search_query_controller" class="arrow">▼</div> + <a href="javascript:TUI_toggle_class('custom_search_query')" > + Custom Search</a> <span class="section_help">Didn't find what you're looking for above? This area allows for ANDs, ORs, and other more complex searches.</span> - </h3> - + </div> + <div id="custom_search_filter_section" class="bz_search_section custom_search_query" > [%# Whoever wrote the original version of boolean charts had a seriously twisted mind %] [% jsmagic = "onclick=\"this.form.action='query.cgi#chart'; this.form.method='POST'; return 1;\"" %] @@ -133,5 +138,6 @@ [% END %] </table> - <hr> + [% "<hr>" IF NOT loop.last %] [% END %] +</div>
\ No newline at end of file |