diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index c98875e726..9c1645ae8f 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2443,7 +2443,6 @@ td.bundle { } } - .field_hint { color: #808080; font-style: italic; @@ -2458,23 +2457,23 @@ td.bundle { width: 50%; } -.advsearch { - margin: 0 1em 1em 0; - - table { - border-collapse: separate; - border-spacing: 5px; - border-width: 0; - } - - td { - border: 1px solid #EEE; - padding: .3em .4em; - } -} - #advsearches { margin-bottom: 1em; + + .tab-pane { + margin: 0 1em 1em 0; + + table { + border-collapse: separate; + border-spacing: 5px; + border-width: 0; + } + + td { + border: 1px solid #EEE; + padding: .3em .4em; + } + } } #circ_circulation_issue { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index 84931e7d73..aad181f577 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -207,24 +207,26 @@ -
- + [% END # /WRAPPER tabs_nav %] -
+ [% WRAPPER tab_panels %] [% FOREACH advsearchloo IN advancedsearchesloop %] -
+ [% WRAPPER tab_panel tabname="advsearch-tab-${advsearchloo.advanced_search_type}" %]

Limit to any of the following:

@@ -257,10 +259,10 @@ [% END # /IF ( loop.last ) %] [% END # /FOREACH itemtypeloo %]
-
+ [% END # tab_panel/#advsearch-... %] [% END # /FOREACH advsearchloo %] -
-
+ [% END # /WRAPPER tab_panels %] + [% END # /WRAPPER tabs %] [% IF ( expanded_options ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt index e1295ff5e2..b60866cbde 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt @@ -37,181 +37,184 @@

Search history

-
- -
-
- [% IF ( current_biblio_searches ) %] -

Current session

-
-

- Select all visible rows - | - Clear selection on visible rows - | - - Select searches to: - Delete - -

- - - - - - - - - - - - [% FOREACH s IN current_biblio_searches %] + + [% WRAPPER tabs id= "tabs" %] + [% WRAPPER tabs_nav %] + [% WRAPPER tab_item tabname= "biblio_tab" bt_active= 1 %] Catalog [% END %] + [% WRAPPER tab_item tabname= "authority_tab" %] Authority [% END %] + [% END # /WRAPPER tabs_nav %] + + [% WRAPPER tab_panels %] + [% WRAPPER tab_panel tabname="biblio_tab" bt_active= 1 %] + [% IF ( current_biblio_searches ) %] +

Current session

+ +

+ Select all visible rows + | + Clear selection on visible rows + | + + Select searches to: + Delete + +

+ +
DateSearchResults
+ - - - - + + + + - [% END %] - -
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc | html %][% s.total | html %]DateSearchResults
-
- [% END %] + + + [% FOREACH s IN current_biblio_searches %] + + + [% s.time |$KohaDates with_hours => 1 %] + [% s.query_desc | html %] + [% s.total | html %] + + [% END %] + + + + [% END %] - [% IF ( current_biblio_searches && previous_biblio_searches) %] -
- [% END %] + [% IF ( current_biblio_searches && previous_biblio_searches) %] +
+ [% END %] - [% IF ( previous_biblio_searches ) %] -

Previous sessions

-
-

- Select all visible rows - | - Clear selection on visible rows - | - - Select searches to: - Delete - -

- - - - - - - - - - - - [% FOREACH s IN previous_biblio_searches %] + [% IF ( previous_biblio_searches ) %] +

Previous sessions

+ +

+ Select all visible rows + | + Clear selection on visible rows + | + + Select searches to: + Delete + +

+ +
DateSearchResults
+ - - - - + + + + - [% END %] - -
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc | html %][% s.total | html %]DateSearchResults
-
- [% END %] + + + [% FOREACH s IN previous_biblio_searches %] + + + [% s.time |$KohaDates with_hours => 1 %] + [% s.query_desc | html %] + [% s.total | html %] + + [% END %] + + + + [% END %] - [% IF !current_biblio_searches && !previous_biblio_searches %] -

Your catalog search history is empty.

- [% END %] -
+ [% IF !current_biblio_searches && !previous_biblio_searches %] +

Your catalog search history is empty.

+ [% END %] + [% END # /tab_panel#biblio_tab %] -
- [% IF ( current_authority_searches ) %] -

Current session

-
-

- Select all visible rows - | - Clear selection on visible rows - | - - Select searches to: - Delete - -

- - - - - - - - - - - - [% FOREACH s IN current_authority_searches %] + [% WRAPPER tab_panel tabname="authority_tab" %] + [% IF ( current_authority_searches ) %] +

Current session

+ +

+ Select all visible rows + | + Clear selection on visible rows + | + + Select searches to: + Delete + +

+ +
DateSearchResults
+ - - - - + + + + - [% END %] - -
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc | html %][% s.total | html %]DateSearchResults
-
- [% END %] + + + [% FOREACH s IN current_authority_searches %] + + + [% s.time |$KohaDates with_hours => 1 %] + [% s.query_desc | html %] + [% s.total | html %] + + [% END %] + + + + [% END %] - [% IF ( current_authority_searches && previous_authority_searches) %] -
- [% END %] + [% IF ( current_authority_searches && previous_authority_searches) %] +
+ [% END %] - [% IF ( previous_authority_searches ) %] -

Previous sessions

-
-

- Select all visible rows - | - Clear selection on visible rows - | - - Select searches to: - Delete - -

- - - - - - - - - - - - [% FOREACH s IN previous_authority_searches %] + [% IF ( previous_authority_searches ) %] +

Previous sessions

+ +

+ Select all visible rows + | + Clear selection on visible rows + | + + Select searches to: + Delete + +

+ +
DateSearchResults
+ - - - - + + + + - [% END %] - -
[% s.time |$KohaDates with_hours => 1 %][% s.query_desc | html %][% s.total | html %]DateSearchResults
-
- [% END %] + + + [% FOREACH s IN previous_authority_searches %] + + + [% s.time |$KohaDates with_hours => 1 %] + [% s.query_desc | html %] + [% s.total | html %] + + [% END %] + + + + [% END %] + + [% IF !current_authority_searches && !previous_authority_searches %] +

Your authority search history is empty.

+ [% END %] + [% END # /tab_panel#authority_tab %] + [% END # /WRAPPER tab_panels %] + [% END # /WRAPPER tabs %] - [% IF !current_authority_searches && !previous_authority_searches %] -

Your authority search history is empty.

- [% END %] -
[% # /authority_tab %] -
-
[% # /tabs %]
[% # /div.col-md-8 %] [% # /div.row %]