@@ -, +, @@ --- .../prog/en/modules/opac-search-history.tt | 264 ++++++++++++++------- 1 file changed, 172 insertions(+), 92 deletions(-) --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt @@ -4,23 +4,67 @@ [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your search history [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] + @@ -48,124 +92,160 @@ $(document).ready(function() { [% END %]
+
[% IF ( current_biblio_searches ) %]

Current session

+
+ Select all + Clear all + | + + Select searches to: + Delete + +
- - - + + + + + + + + + + + [% FOREACH s IN current_biblio_searches %] + + + + + + + [% END %] + +
DateSearchResults
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc |html %][% s.total %]
- - - - - - - - - - [% FOREACH s IN current_biblio_searches %] - - - - - - [% END %] - -
DateSearchResults
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc |html %][% s.total %]
[% END %] +
+
[% IF ( previous_biblio_searches ) %]

Previous sessions

+
+ Select all + Clear all + | + + Select searches to: + Delete + +
+ - - - + + + + + + + + + + + [% FOREACH s IN previous_biblio_searches %] + + + + + + + [% END %] + +
DateSearchResults
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc |html %][% s.total %]
- - - - - - - - - - [% FOREACH s IN previous_biblio_searches %] - - - - - - [% END %] - -
DateSearchResults
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc |html %][% s.total %]
[% END %] +
[% IF !current_biblio_searches && !previous_biblio_searches %]

Your catalog search history is empty.

[% END %]
- [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
[% IF ( current_authority_searches ) %]

Current session

+
+ Select all + Clear all + | + + Select searches to: + Delete + +
- - - + + + + + + + + + + + [% FOREACH s IN current_authority_searches %] + + + + + + + [% END %] + +
DateSearchResults
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc |html %][% s.total %]
- - - - - - - - - - [% FOREACH s IN current_authority_searches %] - - - - - - [% END %] - -
DateSearchResults
[% s.time %][% s.query_desc |html %][% s.total %]
[% END %] [% IF ( previous_authority_searches ) %]

Previous sessions

+
+ Select all + Clear all + | + + Select searches to: + Delete + +
- - - + + + + + + + + + + + [% FOREACH s IN previous_authority_searches %] + + + + + + + [% END %] + +
DateSearchResults
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc |html %][% s.total %]
- - - - - - - - - - [% FOREACH s IN previous_authority_searches %] - - - - - - [% END %] - -
DateSearchResults
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc |html %][% s.total %]
[% END %] [% IF !current_authority_searches && !previous_authority_searches %] --