@@ -, +, @@ bookings now recieve feedback. * Catalog > Title > Details * Catalog > Title > MARC details * Catalog > Title > ISBD details * Catalog > Title > Item details * Catalog > Title > Bookings you now recieve feedback. --- koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt | 1 + .../prog/en/modules/catalogue/ISBDdetail.tt | 1 + .../prog/en/modules/catalogue/MARCdetail.tt | 1 + .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 1 + .../prog/en/modules/catalogue/moredetail.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js | 9 +++++++++ 6 files changed, 15 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt @@ -38,6 +38,7 @@
+
[% INCLUDE 'cat-toolbar.inc' %]

Bookings for [% INCLUDE 'biblio-title-head.inc' %]

--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt @@ -48,6 +48,7 @@
[% INCLUDE 'messages.inc' %] +
[% INCLUDE 'cat-toolbar.inc' %]

[% IF ( unknownbiblionumber ) %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -55,6 +55,7 @@
The record you requested does not exist ([% biblionumber | html %]).
[% ELSE %] +
[% INCLUDE 'cat-toolbar.inc' %] [% UNLESS ( popup ) %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -92,6 +92,7 @@ [% CoceHost = Koha.Preference('CoceHost') %] [% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %] +
[% INCLUDE 'cat-toolbar.inc' %] [% IF ( ocoins ) %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt @@ -42,11 +42,11 @@
[% INCLUDE 'messages.inc' %] +
+ [% INCLUDE 'cat-toolbar.inc' %]

Item details for [% INCLUDE 'biblio-title-head.inc' %]

- [% INCLUDE 'cat-toolbar.inc' %] -

[% title | html %]

--- a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js +++ a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js @@ -489,6 +489,9 @@ $("#placeBookingForm").on('submit', function(e) { // Update bookings counts $('.bookings_count').html(parseInt($('.bookings_count').html(), 10)+1); + // Set feedback + $('#transient_result').replaceWith('
'+_("Booking successfully placed")+'
'); + // Close modal $('#placeBookingModal').modal('hide'); }); @@ -540,6 +543,12 @@ $("#placeBookingForm").on('submit', function(e) { timeline.focus(data.booking_id); } +<<<<<<< HEAD +======= + // Set feedback + $('#transient_result').replaceWith('
'+_("Booking successfully updated")+'
'); + +>>>>>>> 9195757e2f1 (Bug 35813: Add success feedback after placing/editing bookings) // Close modal $('#placeBookingModal').modal('hide'); }); --