Bugzilla – Attachment 81934 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: (RM follow-up) Remove loop.odd reference and fix filters
Bug-8630-RM-follow-up-Remove-loopodd-reference-and.patch (text/plain), 6.78 KB, created by
Nick Clemens (kidclamp)
on 2018-11-05 13:22:30 UTC
(
hide
)
Description:
Bug 8630: (RM follow-up) Remove loop.odd reference and fix filters
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-11-05 13:22:30 UTC
Size:
6.78 KB
patch
obsolete
>From dbe0a0cb194240034f9da9dc9d8493156b93f492 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 5 Nov 2018 13:08:52 +0000 >Subject: [PATCH] Bug 8630: (RM follow-up) Remove loop.odd reference and fix > filters > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- > 4 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 525e54a6a2..b6cdad2784 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -140,7 +140,7 @@ > <div title="[% biblionumber |url %]" class="[% biblionumber | html %]" id="local-thumbnail-preview"></div> > [% END %] > [% IF ( AdlibrisEnabled && normalized_isbn ) %] >- <a href="[% AdlibrisURL | html %]?isbn=[% normalized_isbn | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% normalized_isbn | html %]" class="adlibris-cover-big" alt="Adlibris cover image" /></a> >+ <a href="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" class="adlibris-cover-big" alt="Adlibris cover image" /></a> > [% END %] > [% IF ( AmazonCoverImages ) %] > <div id="amazon-bookcoverimg"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index bef4e25cc8..bd0a838942 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -363,7 +363,7 @@ > <!-- Actual Search Results --> > [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %] > [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] >- [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] >+ <tr> > [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %] > <td> > [% IF ( LocalCoverImages) %] >@@ -372,7 +372,7 @@ > </a> > [% END %] > [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >- <a href="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >+ <a href="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> > [% END %] > [% IF ( AmazonCoverImages ) %] > [% IF ( SEARCH_RESULT.normalized_isbn ) %] >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 efd92743e9..7c2f027e53 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -61,7 +61,7 @@ > [% END %] > > [% IF ( AdlibrisEnabled && normalized_isbn ) %] >- <a href="[% AdlibrisURL | html %]?isbn=[% normalized_isbn | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% normalized_isbn | html %]" alt="Cover image" class="adlibris-cover-big" /></a> >+ <a href="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" alt="Cover image" class="adlibris-cover-big" /></a> > [% END %] > > [% IF ( OPACAmazonCoverImages ) %] >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 caacac5dd4..3c8a273795 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -213,7 +213,7 @@ > [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %] > [% IF ( JacketImages || AdlibrisEnabled ) %]<td class="jacketcell"> > [% IF ( AdlibrisEnabled && ISSUE.normalized_isbn ) %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% ISSUE.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >+ <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% ISSUE.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> > [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( ISSUE.normalized_isbn ) %] >@@ -491,7 +491,7 @@ > [% IF ( JacketImages || AdlibrisEnabled ) %] > <td class="jacketcell"> > [% IF ( AdlibrisEnabled && OVERDUE.normalized_isbn ) %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% OVERDUE.biblionumber | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% OVERDUE.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >+ <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% OVERDUE.biblionumber | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% OVERDUE.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> > [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( OVERDUE.normalized_isbn ) %] >-- >2.11.0
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