From 621ad21a7aea74afddc06f73ae86f477077becb5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 22 Mar 2024 09:23:19 +0100 Subject: [PATCH] Bug 36396: UI - OPAC Sponsored-by: The Research University in the Helmholtz Association (KIT) Signed-off-by: Lukas Koszyk Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../bootstrap/en/includes/opac-facets.inc | 44 +++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc index 5415f6fb27..635058eb82 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -54,19 +54,37 @@ [% FOREACH facets_loo IN facets_loop %] [% IF facets_loo.facets.size > 0 %]
  • - [% IF facets_loo.type_label_Authors %]

    Authors

    [% END %] - [% IF facets_loo.type_label_Titles %]

    Titles

    [% END %] - [% IF facets_loo.type_label_Topics %]

    Topics

    [% END %] - [% IF facets_loo.type_label_Places %]

    Places

    [% END %] - [% IF facets_loo.type_label_Series %]

    Series

    [% END %] - [% IF facets_loo.type_label_ItemTypes %]

    Item types

    [% END %] - [% IF facets_loo.type_label_CollectionCodes %]

    Collections

    [% END %] - [% IF facets_loo.type_label_Language %]

    Languages

    [% END %] + [% SWITCH facets_loo.label %] + [% CASE 'Authors' %] +

    Authors

    + [% CASE 'Titles' %] +

    Titles

    + [% CASE 'Topics' %] +

    Topics

    + [% CASE 'Places' %] +

    Places

    + [% CASE 'Series' %] +

    Series

    + [% CASE 'ItemTypes' %] +

    Item types

    + [% CASE 'Location' %] +

    Locations

    + [% CASE 'CollectionCodes' %] +

    Collections

    + [% CASE 'Languages' %] +

    Languages

    + [% CASE %] + + [% END %] + [% UNLESS singleBranchMode %] - [% IF ( facets_loo.type_label_HomeLibrary ) %]

    Home libraries

    [% END %] - [% IF ( facets_loo.type_label_HoldingLibrary ) %]

    Holding libraries

    [% END %] + [% IF ( facets_loo.label == HomeLibrary ) %] +

    Home libraries

    + [% END %] + [% IF ( facets_loo.label == 'HoldingLibrary' ) %] +

    Holding libraries

    + [% END %] [% END %] - [% IF facets_loo.type_label_Location %]

    Locations

    [% END %]
      [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %] [% IF ( sort_by ) %] @@ -103,14 +121,14 @@
    • [% FOR label IN more_less_labels.keys %] [% IF facets_loo.item('type_label_' _ label) %] - Show more + Show more [% END %] [% END %]
    • -- 2.39.5