Bugzilla – Attachment 43258 Details for
Bug 8630
Add covers from AdLibris to the OPAC and Intranet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8630 - Adlibris covers (OPAC templates)
Bug-8630---Adlibris-covers-OPAC-templates.patch (text/plain), 25.26 KB, created by
Martin Persson
on 2015-10-08 14:26:54 UTC
(
hide
)
Description:
Bug 8630 - Adlibris covers (OPAC templates)
Filename:
MIME Type:
Creator:
Martin Persson
Created:
2015-10-08 14:26:54 UTC
Size:
25.26 KB
patch
obsolete
>From e6a9ad54ed2d154ea2e2568270445cc8b4c42fbc Mon Sep 17 00:00:00 2001 >From: Martin Persson <xarragon@gmail.com> >Date: Thu, 8 Oct 2015 09:13:00 +0200 >Subject: [PATCH] Bug 8630 - Adlibris covers (OPAC templates) > >Changes to OPAC templates. >Depends on new CSS clases defined in separate patch. > >Test plan: > >To test this particular patch (intranet templates) you need: >* The syspref patch applied >* The intranet CSS patch applied > >To test: >* Apply this patch > >* Enable covers (if not done already) > * Go to staff interface, log in as a priviliged user. > * Select "More" -> "Administration" -> > "Global system preferences" -> "Enhanced content". > * Set ""AdlibrisCoversEnabled" to "Show" under "Adlibris". > * Save changes > >* Add a book with a known cover/ISBN (if none exists) > * Set MARC field 020 a, > "INTERNATIONAL STANDARD BOOK NUMBER" to: 9780451524935 > * Set MARC field 245 a, "Title" to: 1984 > * Save changes > >* Test opac-results.tt > * Search library catalog from OPAC for "1984". > * You should be sent to: > http://127.0.1.1/cgi-bin/koha/opac-search.pl?idx=&q=1984 > * Cover image should be shown to the right of each title > with CSS class: "adlibris-cover" > >* Test opac-detail.tt > (continued from previous test's location) > * Click on the title with cover (1984, ISBN: 9780451524935) > * Cover should be displayed to the left in full size. > * If clicked, should link to the full-size image. > >Test opac-results-grouped.tt > * This template is only used if an external "grouping" server is > setup and the syspref "OPACGroupResults" is set to "Use". > * Personally I did not test this, b/c: terminally lazy > >* Test opac-showreviews.tt > * Could not find any links to this location, manually enter it: > http://127.0.1.1/cgi-bin/koha/opac-showreviews.pl > * Image should be shown to the right in full size. > * If clicked it should take you to the detail view with the > comments tab opened. > >* Test opac-showreviews-rss.tt > * Click on the RSS icon from previous test's start location. > URL should be: > http://127.0.1.1/cgi-bin/koha/opac-showreviews.pl?format=rss > * An image tag linking to the full-size image without any > styling class should be present. > >* Test opac-user.tt > * Click on your username to open: > http://127.0.1.1/cgi-bin/koha/opac-user.pl > * Covers should be shown for checked out items with > CSS class: adlibris-cover > * When clicked the destination should be the same as > clicking the title column entry: opac-details.pl > >* Test opac-opensearch.tt > * Click on "Advanced search" and enter "1984" then press "Search" > * This search screen uses a different template. > * Cover image should be shown to the right of each title > with CSS class: "adlibris-cover" > * If clicked, should link to the OPAC detail view. > >* Test opac-readingrecord.tt > * Click on your logged-in name to go to your personal page. > * Click on "Your reading history" tab on the left. > http://127.0.1.1/cgi-bin/koha/opac-readingrecord.pl > * Covers should be shown in leftmost column with > CSS class: adlibris-cover > * If clicked, should link to the same as the 'Title' link. > >Sponsored-By: Halland County Library >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 7 +++++++ > .../opac-tmpl/bootstrap/en/modules/opac-opensearch.tt | 6 ++++++ > .../opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt | 12 ++++++++++++ > .../opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt | 5 +++++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 9 +++++++++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 6 +++++- > .../opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt | 8 +++++++- > .../opac-tmpl/bootstrap/en/modules/opac-showreviews.tt | 10 ++++++++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 14 +++++++++----- > 9 files changed, 68 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 1c36c06..07cdccd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -4,6 +4,8 @@ > [% USE AuthorisedValues %] > [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %] >+[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% ShowCourseReservesHeader = 0 %] > [% IF Koha.Preference( 'UseCourseReserves' ) == 1 %] >@@ -52,6 +54,11 @@ > [% IF ( OPACLocalCoverImages ) %] > <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div> > [% END %] >+ >+ [% IF ( AdlibrisEnabled && normalized_isbn ) %] >+ <a href="[% AdlibrisURL %]?isbn=[% normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% normalized_isbn %]" alt="Cover image" class="adlibris-cover-big" /></a> >+ [% END %] >+ > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( OPACurlOpenInNewWindow ) %] > <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >index e1a9efe..69a4caa 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >@@ -1,5 +1,8 @@ > <?xml version='1.0' encoding='utf-8' ?> > [% USE Koha %] >+[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] >+ > [% IF ( opensearchdescription ) %] > <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> > <ShortName>[% LibraryName |html %] Search</ShortName> >@@ -37,6 +40,9 @@ > <dc:identifier>ISBN [% SEARCH_RESULT.isbn |html %]</dc:identifier> > <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link> > <description><![CDATA[ >+[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >+ <img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" alt="Adlibris cover image" /> >+[% END %] > [% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %] > [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %]<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&client=[% SEARCH_RESULT.SyndeticsClientCode %]&type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&upc=[% SEARCH_RESULT.normalized_upc %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&oclc=[% SEARCH_RESULT.normalized_oclc %][% END %]" alt="" /> > [% ELSE %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >index 05b3c84..fae91bc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >@@ -9,6 +9,8 @@ > </head> > [% INCLUDE 'bodytag.inc' bodyid='opac-readingrecord' %] > [% INCLUDE 'masthead.inc' %] >+[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > <div class="main"> > <ul class="breadcrumb"> >@@ -87,6 +89,16 @@ > [% END %] > </td> > <td> >+ [% IF ( AdlibrisEnabled && issue.normalized_isbn ) %] >+ [% IF issue.BiblioDefaultViewmarc %] >+ <a href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]"> >+ [% ELSIF issue.BiblioDefaultViewisbd %] >+ <a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]"> >+ [% ELSE %] >+ <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]"> >+ [% END %] >+ <img src="[% AdlibrisURL %]?isbn=[% issue.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >+ [% END %] > [% IF OPACAmazonCoverImages %] > [% IF issue.normalized_isbn %] > <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt >index 68c543c..5fe0f60 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt >@@ -1,4 +1,6 @@ > [% USE Koha %] >+[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › > [% IF ( searchdesc ) %] >@@ -156,6 +158,9 @@ href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> > <tr> > [% END %] > <td> >+ [% IF ( AdlibrisEnabled && GROUP_RESULT.normalized_isbn ) %] >+ <img src="[% AdlibrisURL %]?isbn=[% GROUP_RESULT.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /> >+ [% END %] > [% IF ( OPACAmazonCoverImages ) %] > <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]">[% IF ( GROUP_RESULT.isbn ) %]<img src="http://images.amazon.com/images/P/[% GROUP_RESULT.isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<img src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" />[% END %] > </a> >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 60ecab1..67c5932 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -1,6 +1,8 @@ > [% USE Koha %] > [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] >+[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › >@@ -238,6 +240,13 @@ > [% IF ( OPACLocalCoverImages ) %] > <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span> > [% END %] >+ >+ [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >+ <span title="[% SEARCH_RESULT.biblionumber %]" id="adlibris-thumbnail[% loop.count %]"> >+ <img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" >+ alt="Adlibris thumbnail for ISBN: [% SEARCH_RESULT.normalized_isbn %]" class="adlibris-cover" /> >+ </span> >+ [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( SEARCH_RESULT.normalized_isbn ) %] > [% IF ( using_https ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 1d72ba8..8721766 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -1,6 +1,8 @@ > [% USE Koha %] > [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] >+[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF ( viewshelf ) %]Contents of [% shelfname |html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %] >@@ -298,7 +300,9 @@ > [% IF ( OPACLocalCoverImages ) %] > <span title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.biblionumber %]" id="local-thumbnail[% loop.count %]"></span> > [% END %] >- >+ [% IF ( AdlibrisEnabled && itemsloo.normalized_isbn ) %] >+ <img src="[% AdlibrisURL %]?isbn=[% itemsloo.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /> >+ [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( itemsloo.normalized_isbn ) %] > <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="http://images.amazon.com/images/P/[% itemsloo.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" /></span> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >index c6d858d..81e6d0a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >@@ -1,4 +1,4 @@ >-[% USE KohaDates # XML declaration should have no white space before it %]<?xml version="1.0" encoding="utf-8"?> >+[% USE KohaDates # XML declaration should have no white space before it %][% USE Koha %]<?xml version="1.0" encoding="utf-8"?> > <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> > <channel> > <title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog Recent Comments]]></title> >@@ -6,11 +6,17 @@ > <description><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library staff.]]></description> > <atom:link href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" /> > <lastBuildDate>[% timestamp %]</lastBuildDate> >+ [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+ [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > [% FOREACH review IN reviews %] > <item> > <title>New comment on [% review.title |html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield |html %][% END %]</title> > <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link> > <description><![CDATA[ >+[% IF ( AdlibrisEnabled && review.normalized_isbn ) %] >+ <img src="[% AdlibrisURL %]?isbn=[% review.normalized_isbn %]" alt="Adlibris cover image" /> >+[% END %] >+ > [% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %] > > [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %][% IF ( using_https ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >index 687a671..11ea1e6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >@@ -31,6 +31,8 @@ > <div id="showreviews" class="searchresults maincontent"> > <h3>Recent comments <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to recent comments" title="Subscribe to recent comments" border="0" class="rsssearchicon"/></a></h3> > <table class="table table-striped"> >+ [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+ [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > [% FOREACH review IN reviews %] > <tr> > <td> >@@ -112,7 +114,9 @@ > <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title"> > [% END %] > [% END %] >- >+ [% IF ( AdlibrisEnabled && review.normalized_isbn ) %] >+ <img src="[% AdlibrisURL %]?isbn=[% review.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /> >+ [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( review.normalized_isbn ) %] > <img src="http://images.amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" /> >@@ -120,7 +124,9 @@ > <span class="no-image">No cover image available</span> > [% END %] > [% END %] >- >+ [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >+ <img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" alt="Adlibris cover image" /> >+ [% END %] > [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] > [% IF ( using_https ) %] > <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% review.normalized_upc %]&oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 1a200e6..ee6fe2a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -1,5 +1,7 @@ > [% USE Koha %] > [% USE KohaDates %] >+[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >+[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your library home</title> >@@ -130,7 +132,7 @@ > <caption>[% issues_count %] Item(s) checked out</caption> > <thead> > <tr> >- [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %] >+ [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort"> </th>[% END %] > <th class="anti-the">Title</th> > <th class="title-string psort">Due</th> > [% UNLESS ( item_level_itypes ) %] >@@ -154,8 +156,10 @@ > <tbody> > [% FOREACH ISSUE IN ISSUES %] > [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %] >- [% IF ( JacketImages ) %]<td class="jacketcell"> >- >+ [% IF ( JacketImages || AdlibrisEnabled ) %]<td class="jacketcell"> >+ [% IF ( AdlibrisEnabled && ISSUE.normalized_isbn ) %] >+ <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]"><img src="[% AdlibrisURL %]?isbn=[% ISSUE.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >+ [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( ISSUE.normalized_isbn ) %] > <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% ISSUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail"/></a> >@@ -381,7 +385,7 @@ > <!-- OVERDUES TABLE ROWS --> > <thead> > <tr> >- [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %] >+ [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort"> </th>[% END %] > <th class="anti-the">Title</th> > [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] > [% IF ( show_barcode ) %]<th>Barcode</th>[% END %] >@@ -398,7 +402,7 @@ > <tbody> > [% FOREACH OVERDUE IN OVERDUES %] > <tr> >- [% IF ( JacketImages ) %] >+ [% IF ( JacketImages || AdlibrisEnabled ) %] > <td class="jacketcell"> > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( OVERDUE.normalized_isbn ) %] >-- >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 8630
:
43188
|
43256
|
43257
|
43258
|
43259
|
43260
|
58333
|
58334
|
58335
|
58336
|
58337
|
58343
|
58344
|
58345
|
58346
|
58347
|
64244
|
64245
|
64246
|
64247
|
64248
|
68366
|
73125
|
73126
|
73127
|
73128
|
73129
|
76848
|
76849
|
76850
|
76851
|
76852
|
76853
|
76859
|
78259
|
78260
|
78261
|
78262
|
78263
|
78264
|
79989
|
79990
|
79991
|
79992
|
79993
|
79994
|
80106
|
80107
|
80108
|
80109
|
80110
|
80111
|
80119
|
80245
|
80246
|
80377
|
80378
|
80379
|
80380
|
80381
|
80382
|
80383
|
81934