Bugzilla – Attachment 69081 Details for
Bug 19573
Link to make a new list in masthead in OPAC only appears / works if no other list already exists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19573: Link to make a new list in masthead in OPAC only appears / works if no other list already exists
Bug-19573-Link-to-make-a-new-list-in-masthead-in-O.patch (text/plain), 2.00 KB, created by
Simon Pouchol
on 2017-11-10 12:46:36 UTC
(
hide
)
Description:
Bug 19573: Link to make a new list in masthead in OPAC only appears / works if no other list already exists
Filename:
MIME Type:
Creator:
Simon Pouchol
Created:
2017-11-10 12:46:36 UTC
Size:
2.00 KB
patch
obsolete
>From 9ffec42a1fc17be4398df5b0a974fa7a6a6a7b60 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 9 Nov 2017 15:54:12 +0000 >Subject: [PATCH] Bug 19573: Link to make a new list in masthead in OPAC only > appears / works if no other list already exists > >This patch corrects the OPAC masthead include file so that the "New >list" link will appear whether or not the logged-in user has existing >private lists. > >To test, apply the patch and log into the OPAC as both a user with >private lists and a user without private lists. The header's "Lists" >dropdown menu should include a "New list" link in both cases. > >Signed-off-by: Simon Pouchol <simon.pouchol@biblibre.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index e2ff5fa..fd37f6e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -68,8 +68,8 @@ > [% END %] > [% ELSE %] > <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">No private lists</a></li> >- <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=add_form" tabindex="-1" role="menuitem" class="listmenulink">New list</a></li> > [% END %] >+ <li role="presentation"><a href="/cgi-bin/koha/opac-shelves.pl?op=add_form" tabindex="-1" role="menuitem" class="listmenulink">New list</a></li> > [% ELSE %] > [% IF Koha.Preference('casAuthentication') %] > [%# CAS authentication is too complicated for modal window %] >-- >2.7.4
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 19573
:
69067
|
69081
|
69987