From c21cef38643a55313c21505ee2f47c82f20229af Mon Sep 17 00:00:00 2001 From: Francesca Moore Date: Tue, 14 Jan 2014 14:42:38 +1300 Subject: [PATCH] Bug 11312: make facets selectable using an ID -- opac-bootstrap To test: 1. search in OPAC directory 2. inspect the facets, note that they now have spans Signed-off-by: David Cook Works as described. I'm not sure that this change is necessary, since the parent li elements have IDs that can be hooked onto for CSS, but it doesn't change existing behaviour and more control is always nice, so that's all right. Signed-off-by: Kyle M Hall Signed-off-by: Galen Charlton --- .../bootstrap/en/includes/opac-facets.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 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 5669ce19f5..5a6f61c6dd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -18,16 +18,16 @@ [% 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_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 %] [% UNLESS ( singleBranchMode ) %] - [% IF ( facets_loo.type_label_Libraries ) %]Libraries[% END %] + [% IF ( facets_loo.type_label_Libraries ) %]Libraries[% END %] [% END %] - [% IF ( facets_loo.type_label_Location ) %]Locations[% END %]
    + [% IF ( facets_loo.type_label_Location ) %]Locations[% END %]
      [% FOREACH facet IN facets_loo.facets %]
    • -- 2.39.2