Bugzilla – Attachment 63661 Details for
Bug 18354
Adding item type attribute to cover image div
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18354 Adding item type attribute to cover image div this adds item type so we can do things with javascript To Test 1.) Do a search on OPAC 2.) Inspect element to confirm item type is not present 3.) Apply patch 4.) Do a search on OPAC to confirm item
Bug-18354-Adding-item-type-attribute-to-cover-imag.patch (text/plain), 1.65 KB, created by
Michael Cabus
on 2017-05-23 15:56:15 UTC
(
hide
)
Description:
Bug 18354 Adding item type attribute to cover image div this adds item type so we can do things with javascript To Test 1.) Do a search on OPAC 2.) Inspect element to confirm item type is not present 3.) Apply patch 4.) Do a search on OPAC to confirm item
Filename:
MIME Type:
Creator:
Michael Cabus
Created:
2017-05-23 15:56:15 UTC
Size:
1.65 KB
patch
obsolete
>From b3014db35b89c2dae720663139cb3bc4e73eb1b6 Mon Sep 17 00:00:00 2001 >From: Michael Andrew Cabus <michael@bywatersolutons.com> >Date: Tue, 23 May 2017 15:43:10 +0000 >Subject: [PATCH] Bug 18354 Adding item type attribute to cover image div this > adds item type so we can do things with javascript To Test 1.) Do a search on > OPAC 2.) Inspect element to confirm item type is not present 3.) Apply patch > 4.) Do a search on OPAC to confirm item type is present as a class > >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index b5e05b9..1e3b4da 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -222,7 +222,7 @@ > > [% # Cell 4: Search result details and controls %] > <td class="bibliocol"> >- <div class="coverimages"> >+ <div class="coverimages [% SEARCH_RESULT.itemtype %] "> > <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"> > [% IF ( OPACLocalCoverImages ) %] > <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span> >-- >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 18354
:
63661
|
63705
|
66470
|
66471