From c7cf368f16f98c00069ce295406a474f22d2a875 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 6 Jun 2023 16:16:30 +0000 Subject: [PATCH] Bug 33895: (follow-up) Build overdrive tab-pane only if OverDriveCirculation is turned on Signed-off-by: Sam Lau Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 4b39a8a1d1..d5b7835543 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -313,9 +313,10 @@ [% END # /WRAPPER tabs_nav %] [% WRAPPER tab_panels %] - [% WRAPPER tab_panel tabname="opac-user-overdrive" %] - [% END # /tab_panel#opac-user-overdrive %] - + [% IF ( OverDriveCirculation ) %] + [% WRAPPER tab_panel tabname="opac-user-overdrive" %] + [% END # /tab_panel#opac-user-overdrive %] + [% END %] [% WRAPPER tab_panel tabname="opac-user-checkouts" %] [% IF ( issues_count ) %]
-- 2.39.5