From cb65d2e82638a9a4df49f15873cd38e747079210 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 3 Aug 2011 12:32:07 -0700 Subject: Bug 660382: Hide the complex features of custom search by default r=dkl, a=mkanat --- .../en/default/search/boolean-charts.html.tmpl | 23 +++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'template/en/default/search') diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index 33d5df910..b90f5f1b6 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -71,6 +71,8 @@ @@ -82,7 +84,8 @@ [% IF !top_level_any_shown %] [% INCLUDE any_all_select - name = "j_top" id = "j_top" selected = default.j_top.0 %] + name = "j_top" selected = default.j_top.0 + with_advanced_link = 1 %] [% top_level_any_shown = 1 %] [% END %] @@ -96,22 +99,26 @@ [% IF previous_condition.f == "OP" %] [% INCLUDE any_all_select - name = "j" _ (cond_num - 1) id = "j" _ (cond_num - 1) + name = "j" _ (cond_num - 1) selected = previous_condition.j %] [% END %] [% IF with_buttons %] - [% END %] [% UNLESS condition.f == "CP" %] - @@ -163,10 +170,16 @@ [% BLOCK any_all_select %]
- + [% IF with_advanced_link %] + + Hide Advanced Features + + [% END %]
[% END %] -- cgit v1.2.3-24-g4f1b