Bugzilla – Attachment 83003 Details for
Bug 18798
Use Koha.Preference in OPAC Reading Record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18798: (follow-up) Use Koha.preference for GoogleJackets
Bug-18798-follow-up-Use-Kohapreference-for-GoogleJ.patch (text/plain), 2.37 KB, created by
Aleisha Amohia
on 2018-12-09 20:48:42 UTC
(
hide
)
Description:
Bug 18798: (follow-up) Use Koha.preference for GoogleJackets
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2018-12-09 20:48:42 UTC
Size:
2.37 KB
patch
obsolete
>From 94fe526e7e3f14f6ea0d4da3150e061b1b24955f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 7 Dec 2018 17:57:00 +0000 >Subject: [PATCH] Bug 18798: (follow-up) Use Koha.preference for GoogleJackets > >This patch converts the check for the GoogleJackets preference to use >the Koha.preference() style. > >To test, apply the patch and log in to the OPAC as a user who has a >checkout history. View the "your reading history" page with >GoogleJackets both enabled and disabled. Everything should work >correctly. > >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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 741fad6..150e9ff 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >@@ -115,7 +115,7 @@ > [% END %] > [% END %] > >- [% IF GoogleJackets %] >+ [% IF ( Koha.Preference('GoogleJackets') ) %] > [% IF issue.normalized_isbn %] > <div title="[% issue.biblionumber |url %]" class="[% issue.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div> > [% ELSE %] >@@ -123,7 +123,7 @@ > [% END %] > [% END %] > >- [% IF BakerTaylorEnabled %] >+ [% IF ( Koha.Preference('BakerTaylorEnabled') ) %] > [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %] > [% IF ( bt_id ) %] > <a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a> >-- >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 18798
:
64272
|
64273
|
65955
|
82992
|
82994
| 83003