Bugzilla – Attachment 98264 Details for
Bug 24560
Don't show "Public Lists" in OPAC List menu if no public lists exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24560: Dont show No Public Lists in OPAC
Bug-24560-Dont-show-No-Public-Lists-in-OPAC.patch (text/plain), 1.77 KB, created by
Lucas Gass (lukeg)
on 2020-02-01 16:36:33 UTC
(
hide
)
Description:
Bug 24560: Dont show No Public Lists in OPAC
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-02-01 16:36:33 UTC
Size:
1.77 KB
patch
obsolete
>From 69f192facb8f9b96817bca2accb1143c9ffd8ac1 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Sat, 1 Feb 2020 16:33:28 +0000 >Subject: [PATCH] Bug 24560: Dont show No Public Lists in OPAC > >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 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..aee1e8704e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -46,10 +46,10 @@ > [% IF some_public_shelves > 10 %] > <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=2" tabindex="-1" role="menuitem" class="listmenulink">View All</a></li> > [% END %] >- [% ELSE %] >- <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">No public lists</a></li> > [% END %] >- <li class="divider" role="presentation"></li> >+ [% IF some_public_shelves.count > 0 %] >+ <li class="divider" role="presentation"></li>i >+ [% END %] > [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] > <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1" tabindex="-1" role="menuitem"><strong>Your lists</strong></a></li> > [% IF loggedinusername %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24560
:
98259
|
98260
|
98264
|
98265
|
98350
|
98362