diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt index 4a9fab692a..531cc12cde 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt @@ -49,6 +49,7 @@

Search history

+ [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
-
+
+
+ [% PROCESS catalog_search_history %] +
+ +
+ [% PROCESS authority_search_history %] +
+
+
+ [% ELSE %] + [% PROCESS catalog_search_history %] [% END %] -
-
- [% IF ( current_biblio_searches ) %] -

Current session

-
- Toolbar control - - [% INCLUDE 'toolbar_controls' %] - - - - - - - - - - - - - - [% FOREACH s IN current_biblio_searches %] - - - - - - - - [% END %] - -
Current session
DateSearchResults
- - - - - - - - [% s.query_desc | html %] - [% s.total | html %]
- -
- [% END # IF ( current_biblio_searches ) %] -
-
-
- [% IF ( previous_biblio_searches ) %] -

Previous sessions

-
- Toolbar control - [% INCLUDE 'toolbar_controls' %] - - - - - - - - - - - - - - - [% FOREACH s IN previous_biblio_searches %] - - - - - - - - [% END %] - -
Previous sessions
DateSearchResults
- - - - - - - - - [% s.query_desc | html %] - - [% s.total | html %]
- -
- [% END # IF ( previous_biblio_searches ) %] -
- - [% 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

-
- Toolbar control - [% INCLUDE 'toolbar_controls' %] - - - - - - - - - - - - - - [% FOREACH s IN current_authority_searches %] - - - - - - - - [% END %] - -
Current session
DateSearchResults
- - - - [% s.query_desc | html %][% s.total | html %]
- -
- [% END # / IF ( current_authority_searches ) %] -
-
-
- [% IF ( previous_authority_searches ) %] -

Previous sessions

-
- Toolbar control - [% INCLUDE 'toolbar_controls' %] - - - - - - - - - - - - - - [% FOREACH s IN previous_authority_searches %] - - - - - - - - [% END %] - -
Previous sessions
DateSearchResults
- - - - [% s.query_desc | html %][% s.total | html %]
- -
- [% END # / IF ( previous_authority_searches )%] -
- - [% IF !current_authority_searches && !previous_authority_searches %] -

Your authority search history is empty.

- [% END %] -
-
- [% END # / IF Koha.Preference( 'OpacAuthorities' ) %] -
+[% BLOCK catalog_search_history %] +
+ [% IF ( current_biblio_searches ) %] +

Current session

+
+ Toolbar control + + [% INCLUDE 'toolbar_controls' %] + + + + + + + + + + + + + + [% FOREACH s IN current_biblio_searches %] + + + + + + + + [% END %] + +
Current session
DateSearchResults
+ + + + + + + + [% s.query_desc | html %] + [% s.total | html %]
+ +
+ [% END # IF ( current_biblio_searches ) %] +
+
+
+ [% IF ( previous_biblio_searches ) %] +

Previous sessions

+
+ Toolbar control + [% INCLUDE 'toolbar_controls' %] + + + + + + + + + + + + + + + [% FOREACH s IN previous_biblio_searches %] + + + + + + + + [% END %] + +
Previous sessions
DateSearchResults
+ + + + + + + + + [% s.query_desc | html %] + + [% s.total | html %]
+ +
+ [% END # IF ( previous_biblio_searches ) %] +
+ + [% IF !current_biblio_searches && !previous_biblio_searches %] +

Your catalog search history is empty.

+ [% END %] +[% END %] + +[% BLOCK authority_search_history %] +
+ [% IF ( current_authority_searches ) %] +

Current session

+
+ Toolbar control + [% INCLUDE 'toolbar_controls' %] + + + + + + + + + + + + + + [% FOREACH s IN current_authority_searches %] + + + + + + + + [% END %] + +
Current session
DateSearchResults
+ + + + [% s.query_desc | html %][% s.total | html %]
+ +
+ [% END # / IF ( current_authority_searches ) %] +
+
+
+ [% IF ( previous_authority_searches ) %] +

Previous sessions

+
+ Toolbar control + [% INCLUDE 'toolbar_controls' %] + + + + + + + + + + + + + + [% FOREACH s IN previous_authority_searches %] + + + + + + + + [% END %] + +
Previous sessions
DateSearchResults
+ + + + [% s.query_desc | html %][% s.total | html %]
+ +
+ [% END # / IF ( previous_authority_searches )%] +
+ + [% IF !current_authority_searches && !previous_authority_searches %] +

Your authority search history is empty.

+ [% END %] +[% END %] + [% INCLUDE 'opac-bottom.inc' %] [% BLOCK toolbar_controls %]