From ad0c0f412ea4630ccd87590df415bcfac6753534 Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Mon, 25 Sep 2023 08:47:36 +0200 Subject: [PATCH] Bug 34833: (follow-up): remove redundant spaces Signed-off-by: Tomas Cohen Arazi (cherry picked from commit dc140bdb2e4837dae5906f0e7e98a35c1ebe81b6) Signed-off-by: Fridolin Somers (cherry picked from commit ebf88badbcc1b65b0889e07b93a992555a4b248a) Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 529a71fd2e..9686570613 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -978,7 +978,7 @@ e.preventDefault(); var ordernumber = $(this).data("ordernumber"); var note_type = $(this).data("note_type"); - var order_number_text = _(" (order number %s)").format(ordernumber); + var order_number_text = _("(order number %s)").format(ordernumber); var modalTitle = $(this).attr("title") + " " + order_number_text; var note_text = $( "#" + note_type + "-note-" + ordernumber ).html(); $("#noteEditor .modal-title").text(modalTitle); @@ -1108,7 +1108,7 @@ $(".edit_delivery_date").on("click", function(e) { e.preventDefault(); var ordernumber = $(this).data("ordernumber"); - var order_number_text = _(" (order number %s)").format(ordernumber); + var order_number_text = _("(order number %s)").format(ordernumber); var modalTitle = $(this).attr("title") + " " + order_number_text; var delivery_date = $( "#delivery_date_" + ordernumber ).data("delivery_date"); const estimated_delivery_date = document.querySelector("#estimated_delivery_date")._flatpickr; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index ea20b31b73..eb6d81f0f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -405,7 +405,7 @@ $(".edit_delivery_date").on("click", function(e) { e.preventDefault(); var ordernumber = $(this).data("ordernumber"); - var order_number_text = _(" (order number %s)").format(ordernumber); + var order_number_text = _("(order number %s)").format(ordernumber); var modalTitle = $(this).attr("title") + " " + order_number_text; var delivery_date = $( "#delivery_date_" + ordernumber ).data("delivery_date"); const estimated_delivery_date = document.querySelector("#estimated_delivery_date")._flatpickr; -- 2.39.5