Bug 23210: (follow-up) Log in for tags link should trigger modal

This patch modifies the "Log in to add tags" link on the OPAC search
results page, adding the class which is used elsewhere in the OPAC
templates for triggering the login modal.

Also: Removed an unnecessary period.

To test, apply the patch and follow the original test plan. Clicking the
"Log in to add tags" link should trigger the login modal. After logging
in you should be returned to the page you were on.

Signed-off-by: Michal Denar <black23@gmail.com>
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:
Owen Leonard 2019-08-05 14:25:51 +00:00 committed by Martin Renvoize
parent 99d8d2db2c
commit 66b6c76d96
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -555,7 +555,7 @@
Tag status here.
</span>
[% ELSIF ( loop.first ) %]
<span class="actions"><span id="login4tags"><a 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 TagsInputEnabled %]