From c4f6f1236d383f4aaa29a8212ad241a55a1f05dc Mon Sep 17 00:00:00 2001 From: Owen Leonard 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. Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit 04cd884d10a4b9b6a889c084d40b44742e3d7279) Signed-off-by: Lucas Gass (cherry picked from commit 95d398d34b32c8b09c365e418ab7a580a14dd765) Signed-off-by: Hayley Mapley --- 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 f0f14f9288..95f0034110 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -539,8 +539,8 @@ - [% ELSIF ( loop.first ) %] - Log in to add tags + [% ELSE %] + Log in to add tags [% END # IF loggedinusername %] [% END # if TagsInputEnabled %] -- 2.39.5