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 <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
<div class="align selected">
<a href="#">[% l("Current Items Checked Out") %]</a>
</div>
- [%- IF ebook_api.enabled %]
+ [%- IF ebook_api.enabled == 'true' %]
<div class="align">
<a href="[% mkurl('ebook_circs',{},1) %]">[% l("E-Items Currently Checked Out") %]</a>
</div>
<div class="align selected">
<a href='#'>[% l("Items on Hold") %]</a>
</div>
- [% IF ebook_api.enabled %]
+ [% IF ebook_api.enabled == 'true' %]
<div class="align">
<a href='[% mkurl('ebook_holds', {}, ['limit','offset','available','sort','sort_type']) %]'>[% l("E-Items on Hold") %]</a>
</div>