Bugzilla – Attachment 23191 Details for
Bug 11312
Add span to facets (for css selection)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11312: Facets should be selectable using an id [staff]
Bug-11312-Facets-should-be-selectable-using-an-id-.patch (text/plain), 2.88 KB, created by
Jonathan Druart
on 2013-11-27 15:37:15 UTC
(
hide
)
Description:
Bug 11312: Facets should be selectable using an id [staff]
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-11-27 15:37:15 UTC
Size:
2.88 KB
patch
obsolete
>From 877e59513032f9288ae40e91e65b6783190f8557 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 27 Nov 2013 16:34:12 +0100 >Subject: [PATCH] Bug 11312: Facets should be selectable using an id [staff] > >Test plan: >launch a search and verify all facet headers have an id. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >index 765bf01..504edd7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc >@@ -11,14 +11,14 @@ > [% IF facets_loo.facets.size > 0 %] > <li id="[% facets_loo.type_id %]"> > [% facets_loo.type_label %] >-[% IF ( facets_loo.type_label_Authors ) %]<span id = "facet-authors">Authors</span>[% END %] >-[% IF ( facets_loo.type_label_Titles ) %]Titles[% END %] >-[% IF ( facets_loo.type_label_Topics ) %]<span id = "facet-topics">Topics</span>[% END %] >-[% IF ( facets_loo.type_label_Places ) %]<span id="facet-places">Places</span>[% END %] >-[% IF ( facets_loo.type_label_Series ) %]<span id="facet-series">Series</span>[% END %] >-[% IF ( facets_loo.type_label_ItemTypes ) %]<span id="facet-itemtypes">Item types</span>[% END %] >-[% IF ( facets_loo.type_label_Libraries ) %]Libraries[% END %] >-[% IF ( facets_loo.type_label_Location ) %]Locations[% END %] >+[% IF facets_loo.type_label_Authors %]<span id="facet-authors"Authors</span>[% END %] >+[% IF facets_loo.type_label_Titles %]<span id="facet-titles">Titles</span>[% END %] >+[% IF facets_loo.type_label_Topics %]<span id="facet-topics">Topics</span>[% END %] >+[% IF facets_loo.type_label_Places %]<span id="facet-places">Places</span>[% END %] >+[% IF facets_loo.type_label_Series %]<span id="facet-series">Series</span>[% END %] >+[% IF facets_loo.type_label_ItemTypes %]<span id="facet-itemtypes">Item types</span>[% END %] >+[% IF facets_loo.type_label_Libraries %]<span id="facet_libraries">Libraries</span>[% END %] >+[% IF facets_loo.type_label_Location %]<span id="facet_locations">Locations</span>[% END %] > <ul> > [% FOREACH facet IN facets_loo.facets %]<li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %]&limit=[% facet.type_link_value %]:[% facet.facet_link_value %]" title="[% facet.facet_title_value %]">[% facet.facet_label_value %]</a> [% IF ( displayFacetCount ) %]([% facet.facet_count %])[% END %]</li>[% END %][% IF ( facets_loo.expandable ) %] > <li class="showmore"><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %][% IF ( offset ) %]&offset=[% offset %][% END %]&expand=[% facets_loo.expand %]#[% facets_loo.type_id %]">Show more</a></li> >-- >1.7.10.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 11312
:
23191
|
23192
|
23193
|
24287
|
24288
|
24289
|
24309
|
24310
|
24311
|
24312
|
24377
|
24378
|
24379
|
24380
|
24445
|
24446
|
24447
|
24448
|
24531
|
24532
|
24533
|
24534