From: McCanna Date: Fri, 25 Aug 2017 13:53:14 +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=refs%2Fheads%2Fuser%2Fmccanna%2Flp1712840_ebook_tabs_in_my_account;p=working%2FEvergreen.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: McCanna --- diff --git a/Open-ILS/src/templates/opac/myopac/circs.tt2 b/Open-ILS/src/templates/opac/myopac/circs.tt2 index bd93d7bbcb..04d26fd35d 100644 --- a/Open-ILS/src/templates/opac/myopac/circs.tt2 +++ b/Open-ILS/src/templates/opac/myopac/circs.tt2 @@ -10,7 +10,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 1ba5c9ce1b..2d6c5a5aa7 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' %]