From 79daf36adf0aba959a9588e1765eee047aee5446 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) Signed-off-by: Michaela Sieber Signed-off-by: David Schmidt --- 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 325d2c23cf..1b3d93fd52 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.30.2