From 7111fe59f36f9237e44b8e6390d94beba427ff4e 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 --- 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