From: Terran McCanna Date: Thu, 24 Aug 2017 17:23:02 +0000 (-0400) Subject: LP#1712840 Ebook tabs always visible in My Account X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3f12ea0c67aa8464f07b24ce646778e2836e2c57;p=evergreen%2Fpines.git 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: Terran McCanna --- 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' %]