Bugzilla – Attachment 80119 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: (follow-up) Template corrections
Bug-8630-follow-up-Template-corrections.patch (text/plain), 3.50 KB, created by
Owen Leonard
on 2018-10-05 14:35:49 UTC
(
hide
)
Description:
Bug 8630: (follow-up) Template corrections
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-10-05 14:35:49 UTC
Size:
3.50 KB
patch
obsolete
>From a2d6e6ec5cc0824303fb1f445013ede4073c126d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 5 Oct 2018 14:31:05 +0000 >Subject: [PATCH] Bug 8630: (follow-up) Template corrections > >This patch makes two corrections to templates: One to correct the case >of a variable, an error which I introduced when adding html filters. > >The other removes a redundant image tag from the recent comments >template. > >To test, apply the patch and log in to the OPAC as a user with >checkouts. Cover images on the "your summar" page should appear >correctly. > >View the "recent comments" page and confirm that images still appear >correctly. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt | 3 --- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 +- > 2 files changed, 1 insertion(+), 4 deletions(-) > >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 d1b3eb8..daa773a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >@@ -128,9 +128,6 @@ > <span class="no-image">No cover image available</span> > [% END %] > [% END %] >- [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >- <img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]" alt="Adlibris cover image" /> >- [% END %] > [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] > <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" alt="" class="thumbnail" /> > [% END %] >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 87a01b7..347e580 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 | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% ISSUE.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /></a> > [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( ISSUE.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