Bugzilla – Attachment 66470 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
Bug-18354-Adding-item-type-attribute-to-cover-imag.patch (text/plain), 1.79 KB, created by
Marcel de Rooy
on 2017-08-25 10:30:23 UTC
(
hide
)
Description:
Bug 18354 Adding item type attribute to cover image div
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-08-25 10:30:23 UTC
Size:
1.79 KB
patch
obsolete
>From 0444936b00a1dc1a493ea87780c7151ddd820617 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 >Content-Type: text/plain; charset=utf-8 > >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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 528ace5..d55ba7a 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