From 2e8774438ce5ef5fdea2ea1bf35d761213d8ca34 Mon Sep 17 00:00:00 2001 From: McCanna Date: Fri, 25 Aug 2017 09:53:14 -0400 Subject: [PATCH] LP#1712840 Ebook tabs always visible in My Account Corrects a problem in My Account where the ebook tabs on the checkouts and holds pages were always visible regardless of whether the ebook_api.enabled value was set to true or false. Signed-off-by: McCanna Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/myopac/circs.tt2 | 2 +- Open-ILS/src/templates/opac/myopac/holds.tt2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/circs.tt2 b/Open-ILS/src/templates/opac/myopac/circs.tt2 index 4c892bceba..d2aebb201d 100644 --- a/Open-ILS/src/templates/opac/myopac/circs.tt2 +++ b/Open-ILS/src/templates/opac/myopac/circs.tt2 @@ -11,7 +11,7 @@ - [%- IF ebook_api.enabled %] + [%- IF ebook_api.enabled == 'true' %] diff --git a/Open-ILS/src/templates/opac/myopac/holds.tt2 b/Open-ILS/src/templates/opac/myopac/holds.tt2 index 7047c431f5..acad86b212 100644 --- a/Open-ILS/src/templates/opac/myopac/holds.tt2 +++ b/Open-ILS/src/templates/opac/myopac/holds.tt2 @@ -15,7 +15,7 @@ - [% IF ebook_api.enabled %] + [% IF ebook_api.enabled == 'true' %] -- 2.11.0