From e9f97582c427cd16b7d5cf156ceb0c031755f33a Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 4 Jul 2018 01:08:17 +0000 Subject: [PATCH] Bug 14272: [FOLLOW-UP] Fixing template error To test, confirm that OpacMainUserBlock and Quote of the Day do not show if viewing a single news item, but do show otherwise. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 b1b6ef6..f72dbba 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -86,7 +86,7 @@ [% END %] - [% UNLESS news_item %] + [% IF news_item %]
@@ -116,6 +116,8 @@ [% END %] [% END %] + [% ELSE %] + [% IF ( display_daily_quote && daily_quote ) %]

Quote of the day

-- 2.1.4