From 309336c59ef1bd10d4284c0829c2a2cff8bdd085 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Mar 2024 15:33:12 +0100 Subject: [PATCH] Bug 20388: Add trash icon to the delete button Sponsored-by: The Research University in the Helmholtz Association (KIT) --- koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js index 62fe11bfe37..7351d289a0a 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js +++ b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js @@ -7,7 +7,7 @@ function clean_line(line) { function clone_line(line) { var new_line = $(line).clone(); - $(new_line).find('td:last-child>a').removeClass("add").addClass("delete").html( __("Delete") ); + $(new_line).find('td:last-child>a').removeClass("add").addClass("delete").html(' %s'.format(__("Delete") )); $(new_line).find('[data-id]').each(function () { $(this).attr({ name: $(this).attr('data-id') }).removeAttr('data-id'); }); -- 2.34.1