From 27e03ee23ad8ba32fdb486c3f3d05437e946fe41 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 20 Dec 2013 16:34:44 +0100 Subject: [PATCH] Bug 11430: OPAC changes -- prog theme --- .../prog/en/modules/opac-search-history.tt | 264 +++++++++++++------- 1 file changed, 172 insertions(+), 92 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt index 3ea70a2..102a5a4 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tt +++ b/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 %] -- 1.7.10.4