diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt index 6e0cb5e4f4..b72459c5f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt @@ -85,12 +85,12 @@ function(items, bookings){ var itemsSet = new vis.DataSet([{ id: 0, - content: "Biblio level" + content: _("Biblio level") }]); for (item of items[0]) { itemsSet.add({ id: item.item_id, - content: "Item " + item.external_id, + content: _("Item") + " " + item.external_id, }); } @@ -201,15 +201,15 @@ ], "columns": [{ "data": "booking_id", - "title": "Booking ID", + "title": _("Booking ID"), "visible": false }, { "data": "item.external_id", - "title": "Item", + "title": _("Item"), "searchable": true, "orderable": true, - "defaultContent": "Any item", + "defaultContent": _("Any item"), "render": function(data,type,row,meta) { if ( row.item ) { return row.item.external_id + " (" + row.booking_id + ")"; @@ -220,7 +220,7 @@ }, { "data": "patron.firstname:patron.surname", - "title": "Patron", + "title": _("Patron"), "searchable": true, "orderable": true, "render": function(data, type, row, meta) { @@ -232,7 +232,7 @@ }, { "data": "start_date", - "title": "Start date", + "title": _("Start date"), "searchable": true, "orderable": true, "render": function(data, type, row, meta) { @@ -241,7 +241,7 @@ }, { "data": "end_date", - "title": "End date", + "title": _("End date"), "searchable": true, "orderable": true, "render": function(data, type, row, meta) { @@ -250,7 +250,7 @@ }, { "data": "", - "title": "Actions", + "title": _("Actions"), "class": "actions", "searchable": false, "orderable": false, diff --git a/koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js b/koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js index 4090ed853c..4f993869ab 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js +++ b/koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js @@ -28,6 +28,6 @@ $("#cancelBookingForm").on('submit', function(e) { }); deleting.fail(function(data) { - $('#cancel_booking_result').replaceWith('