From e0ddd0b0a519a696db36e7d8c5252f8732f29ec0 Mon Sep 17 00:00:00 2001 From: Roch D'Amour Date: Thu, 22 Feb 2018 16:08:59 -0500 Subject: [PATCH] Bug 18820: Main block size now adjust to OpacNavRight like it would for opacuserlogin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test plans : - "beforepatch.png" shows the result you get when OpacNavRight and opacnav are set to false. - "opacuserlogin=f_opacnav=f.png" shows the result with the patch and OpacNavRight and opacnav set to false - "opacuserlogin=t_opacnav=f.png" shows the result with the patch and OpacNavRight set to true and opacnav set to false Applied patch, can confirm it functions as expected. Signed-off-by: Dilan Johnpullé --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 4 ++-- 1 file changed, 2 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 af315f6..9917309 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -33,9 +33,9 @@ [% END %] - [% IF ( OpacNav || OpacNavBottom ) && Koha.Preference( 'opacuserlogin' ) == 1 %] + [% IF ( OpacNav || OpacNavBottom ) && (Koha.Preference( 'opacuserlogin' ) == 1 || OpacNavRight) %]
- [% ELSIF Koha.Preference( 'opacuserlogin' ) == 1 %] + [% ELSIF (Koha.Preference( 'opacuserlogin' ) == 1 || OpacNavRight) %]
[% ELSIF ( OpacNav || OpacNavBottom ) %]
-- 2.1.4