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>
Tag status here.
</span>
[% ELSIF ( loop.first ) %]
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 %]
[% END # IF loggedinusername %]
[% END # if TagsInputEnabled %]