Bugzilla – Attachment 94019 Details for
Bug 23528
Show 'log in to add tags' link on all search result entries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23528: Show 'log in to add tags' link on all search result entries
Bug-23528-Show-log-in-to-add-tags-link-on-all-sear.patch (text/plain), 2.16 KB, created by
Owen Leonard
on 2019-10-11 14:57:54 UTC
(
hide
)
Description:
Bug 23528: Show 'log in to add tags' link on all search result entries
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-10-11 14:57:54 UTC
Size:
2.16 KB
patch
obsolete
>From f7188c79e30e9f008a5f2276840aa9fde39fe230 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 11 Oct 2019 14:53:24 +0000 >Subject: [PATCH] Bug 23528: Show 'log in to add tags' link on all search > result entries > >This patch modifies the OPAC search result template so that each result >shows the "Log in to add tags" link instead of just the first. > >To test, apply the patch and make sure TagsEnabled and TagsInputOnList >are both enabled. > >Perform a search in the OPAC while not logged in. In the list of >results, the "Log in to add tags" link should appear with every result. > >Log in to the OPAC and confirm that the "Add tag" link appears as >expected. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index e571fbc9c1..15399e5828 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -554,8 +554,8 @@ > <span id="newtag[% SEARCH_RESULT.biblionumber | html %]_status" class="tagstatus" style="display:none;"> > Tag status here. > </span> >- [% ELSIF ( loop.first ) %] >- <span class="actions"><span id="login4tags"><a class="loginModal-trigger" href="/cgi-bin/koha/opac-user.pl">Log in to add tags</a></span></span> >+ [% ELSE %] >+ <span class="actions"><span id="login4tags"><a class="loginModal-trigger" href="/cgi-bin/koha/opac-user.pl">Log in to add tags</a></span></span> > [% END # IF loggedinusername %] > [% END # if TagsInputEnabled %] > >-- >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 23528
:
94019
|
94106
|
133096