From 547946894833155f4b61be6d0544a6c195744395 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 10 Mar 2014 15:42:24 +0000 Subject: [PATCH] Bug 10558: (follow-up) choose label for matching records correctly This patch ensures that the record type of the import batch (i.e., biblio or authority) is consulted in order to choose the "Matches biblio" or "Matches authority" labels. Signed-off-by: Galen Charlton --- .../intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 40f916d984..0098751f5e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -88,7 +88,11 @@ $(document).ready(function(){ if ( aData['match_id'] ) { $('td:eq(4)', nRow).html( + [% IF ( record_type == 'auth' ) -%] + _("Matches authority ") + [%- ELSE -%] _("Matches biblio ") + [%- END %] + aData['match_id'] + " (" + _("score") + "=" + aData['score'] -- 2.39.5