From ca32f936576e07909d7d5468f8eaa470221de6a1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 21 Feb 2018 17:59:49 +0000 Subject: [PATCH] Bug 20239: Fix spelling on authority linker plugin This patch corrects the capitalization of the "Choose" link in the pop-up window for selecting an authority record to link to a MARC field. This patch also converts the link, and the "Edit authority" link, to Bootstrap buttons. To test: - Create a new record - Go to the 100 field - Click on plugin link behind $a - Look for an existing authoriy in your system - In the table of search results, confirm that the "Choose" and "Edit authority" links look correct and work correctly. Signed-off-by: Katrin Fischer Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- .../en/modules/authorities/searchresultlist-auth.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt index fd2e92b2e6..a73759f5b7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt @@ -73,15 +73,15 @@ function doauth(authid, index, repet) [% PROCESS authresult summary=resul.summary %] [% resul.used %] times - [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %] - [% FOREACH authorized IN resul.summary.authorized %] - [% loop.count %] - [% END %] + [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %] + [% FOREACH authorized IN resul.summary.authorized %] + [% loop.count %] + [% END %] [% ELSE %] - choose + Choose [% END %] - Edit authority + Edit authority [% END %] -- 2.39.5