Bugzilla – Attachment 73929 Details for
Bug 20552
Fix HTML tag for search facets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20552: Fix HTML tag for search facets
Bug-20552-Fix-HTML-tag-for-search-facets.patch (text/plain), 2.47 KB, created by
Mark Tompsett
on 2018-04-10 13:40:22 UTC
(
hide
)
Description:
Bug 20552: Fix HTML tag for search facets
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-04-10 13:40:22 UTC
Size:
2.47 KB
patch
obsolete
>From ff34d9c037ec398cf55fde73894033c295675ef1 Mon Sep 17 00:00:00 2001 >From: Claire Gravely <claire.gravely@bsz-bw.de> >Date: Tue, 10 Apr 2018 12:46:11 +0000 >Subject: [PATCH] Bug 20552: Fix HTML tag for search facets > >The tags for home library and holding library in the 'refine your >search' list should be h5. > >This patch changes the html tag for the availability, holding library and home library >facets. > >To test: >- Search for an item in the OPAC where the relevant facet appears >- Use 'Inspect element' to check the tag >- Apply patch >- Confirm the facet now has the h5 tag >- Confirm spacing is improved > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 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 e89a693..31089ef 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc >@@ -3,7 +3,7 @@ > <div id="search-facets"> > <h4><a href="#" class="menu-collapse-toggle">Refine your search</a></h4> > <ul class="menu-collapse"> >- <li id="availability_facet">Availability >+ <li id="availability_facet"><h5 id="facet-availability">Availability</h5> > <ul> > <li> > [% IF ( available ) %] >@@ -27,8 +27,8 @@ > [% IF facets_loo.type_label_ItemTypes %]<h5 id="facet-itemtypes">Item types</h5>[% END %] > [% IF facets_loo.type_label_CollectionCodes %]<h5 id="facet-itemtypes">Collections</h5>[% END %] > [% UNLESS singleBranchMode %] >- [% IF ( facets_loo.type_label_HomeLibrary ) %]<span id="facet-home-libraries">Home libraries</span>[% END %] >- [% IF ( facets_loo.type_label_HoldingLibrary ) %]<span id="facet-holding-libraries">Holding libraries</span>[% END %] >+ [% IF ( facets_loo.type_label_HomeLibrary ) %]<h5 id="facet-home-libraries">Home libraries</h5>[% END %] >+ [% IF ( facets_loo.type_label_HoldingLibrary ) %]<h5 id="facet-holding-libraries">Holding libraries</h5>[% END %] > [% END %] > [% IF facets_loo.type_label_Location %]<h5 id="facet-locations">Locations</h5>[% END %] > <ul> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20552
:
73925
|
73926
|
73928
|
73929
|
73991