Bugzilla – Attachment 4724 Details for
Bug 5429
Enable Koha to fetch book covers from openlibrary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow up patch
0002-Bug-5429-Covers-for-detail-page.patch (text/plain), 2.24 KB, created by
Chris Cormack
on 2011-07-23 08:11:48 UTC
(
hide
)
Description:
Follow up patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-07-23 08:11:48 UTC
Size:
2.24 KB
patch
obsolete
>From 9f3ad20046fd378d13c63bd4cd1427c1b3f07d0f Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chris@bigballofwax.co.nz> >Date: Sat, 23 Jul 2011 20:09:08 +1200 >Subject: [PATCH] Bug 5429 : Covers for detail page > >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 11 +++++++++-- > 1 files changed, 9 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 3430cbb..1da6e38 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -21,8 +21,14 @@ > dateFormat: 'uk',[% END %] > widgets : ['zebra'], > sortList: [[0,0]] >- });[% IF ( GoogleJackets ) %] >- KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);[% END %][% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %] >+ }); >+ [% IF ( GoogleJackets ) %] >+ KOHA.Google.GetCoverFromIsbn([% covernewwindow %]); >+ [% END %] >+ [% IF OpenLibraryCovers %] >+ KOHA.OpenLibrary.GetCoverFromIsbn(); >+ [% END %] >+ [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %] > $(".tagbutton").click(KOHA.Tags.add_tag_button);[% END %][% END %][% END %] > > }); >@@ -72,6 +78,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > [% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %] > > [% IF ( GoogleJackets ) %]<div style="block" title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="gbs-thumbnail-preview"></div>[% END %] >+ [% IF OpenLibraryCovers %]<div style="block" title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="openlibrary-thumbnail-preview"></div>[% END %] > [% IF ( BakerTaylorEnabled ) %][% IF ( normalized_isbn ) %][% IF ( OPACurlOpenInNewWindow ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% normalized_isbn %]" target="_blank"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% normalized_isbn %]" /></a>[% ELSE %]<a href="https://[% BakerTaylorBookstoreURL |html %][% normalized_isbn %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% normalized_isbn %]" /></a>[% END %][% END %][% END %] > </div> > >-- >1.7.4.1 >
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 5429
:
4723
|
4724
|
4725
|
4726
|
4727
|
4822
|
4823
|
4824