From a08ad004942a79b7781c2a5cabc21d6cb468006a Mon Sep 17 00:00:00 2001 From: Paudet Date: Mon, 19 Jun 2017 09:27:15 -0400 Subject: [PATCH] Bug 18820: Adding lines that check if opacuserlogin is enable and if OpacNav has content. Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Dominic Pichette Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index 9aa7d2fe2f..4cde3a8be8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -33,10 +33,14 @@ [% END %] - [% IF ( OpacNav || OpacNavBottom ) %] + [% IF ( OpacNav || OpacNavBottom ) && Koha.Preference( 'opacuserlogin' ) == 1 %]
- [% ELSE %] + [% ELSIF Koha.Preference( 'opacuserlogin' ) == 1 %]
+ [% ELSIF ( OpacNav || OpacNavBottom ) %] +
+ [% ELSE %] +
[% END %] [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
-- 2.39.5