From 5deac77e340ba213a7a4d2bd8bdcdd7b0ce4f86b Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 31 Jan 2020 23:48:29 +0000 Subject: [PATCH] Bug 24560: Dont show Public lists if there are 0 Signed-off-by: Kelly McElligott --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 3f429fe0e2..3606d47e9b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -47,9 +47,13 @@
  • View All
  • [% END %] [% ELSE %] -
  • No public lists
  • + [% IF some_public_shelves.count > 0 %] +
  • No public lists
  • + [% END %] + [% END %] + [% IF some_public_shelves.count < 0 %] + [% END %] - [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
  • Your lists
  • [% IF loggedinusername %] -- 2.11.0