From a9483881408f48a99231c6d0631ae2b7b517ad26 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 Content-Type: text/plain; charset=utf-8 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 --- .../prog/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 fd2e92b..a73759f 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.1.4