Bugzilla – Attachment 98265 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: Remove No public list text from OPAC
Bug-24560-Remove-No-public-list-text-from-OPAC.patch (text/plain), 1.78 KB, created by
Lucas Gass (lukeg)
on 2020-02-01 16:43:18 UTC
(
hide
)
Description:
Bug 24560: Remove No public list text from OPAC
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-02-01 16:43:18 UTC
Size:
1.78 KB
patch
obsolete
>From f318d5df3d25d962ae836c69b7ced5181a5093d4 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Sat, 1 Feb 2020 16:42:10 +0000 >Subject: [PATCH] Bug 24560: Remove No public list text from 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..5ee70cc322 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> >+ [% 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