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. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
77884d6c76
commit
04cd884d10
1 changed files with 2 additions and 2 deletions
|
@ -554,8 +554,8 @@
|
||||||
<span id="newtag[% SEARCH_RESULT.biblionumber | html %]_status" class="tagstatus" style="display:none;">
|
<span id="newtag[% SEARCH_RESULT.biblionumber | html %]_status" class="tagstatus" style="display:none;">
|
||||||
Tag status here.
|
Tag status here.
|
||||||
</span>
|
</span>
|
||||||
[% ELSIF ( loop.first ) %]
|
[% 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>
|
<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 loggedinusername %]
|
||||||
[% END # if TagsInputEnabled %]
|
[% END # if TagsInputEnabled %]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue