From: Chris Sharp Date: Wed, 6 Apr 2016 17:35:39 +0000 (-0400) Subject: Renaming survey template file for clarity. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e677d1ae2078cc5f3c4fef165c85cf0c070f53ea;p=contrib%2Fpines.git Renaming survey template file for clarity. --- diff --git a/pines-survey/searchbar.tt2 b/pines-survey/searchbar.tt2 deleted file mode 100644 index 9c4096c..0000000 --- a/pines-survey/searchbar.tt2 +++ /dev/null @@ -1,112 +0,0 @@ -

[% l('Catalog Search') %]

-[% PROCESS "opac/parts/org_selector.tt2" %] -
- [% UNLESS took_care_of_form -%] -
- [%- END %] - - - [% IF ctx.bookbag %] -
- - -
- [% END %] - [% IF is_advanced || is_special %] -
- - [% IF ctx.processed_search_query OR (NOT is_advanced AND NOT is_special) %] - - [% END %] - [% IF is_special %] - [% - number_of_expert_rows = CGI.param('tag').list.size; - index = 0; - WHILE index < number_of_expert_rows %] - - - - [% index = index + 1; %] - [% END %] - [% END %] -
- [%- END %] - [% UNLESS took_care_of_form %]
[% END %] - [% IF (is_advanced AND NOT is_special) AND CGI.param('qtype') %] - - [% END %] - -
-
diff --git a/pines-survey/searchbar_survey.tt2 b/pines-survey/searchbar_survey.tt2 new file mode 100644 index 0000000..9c4096c --- /dev/null +++ b/pines-survey/searchbar_survey.tt2 @@ -0,0 +1,112 @@ +

[% l('Catalog Search') %]

+[% PROCESS "opac/parts/org_selector.tt2" %] +
+ [% UNLESS took_care_of_form -%] +
+ [%- END %] + + + [% IF ctx.bookbag %] +
+ + +
+ [% END %] + [% IF is_advanced || is_special %] +
+ + [% IF ctx.processed_search_query OR (NOT is_advanced AND NOT is_special) %] + + [% END %] + [% IF is_special %] + [% + number_of_expert_rows = CGI.param('tag').list.size; + index = 0; + WHILE index < number_of_expert_rows %] + + + + [% index = index + 1; %] + [% END %] + [% END %] +
+ [%- END %] + [% UNLESS took_care_of_form %]
[% END %] + [% IF (is_advanced AND NOT is_special) AND CGI.param('qtype') %] + + [% END %] + +
+