View | Details | Raw Unified | Return to bug 35813
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt (+1 lines)
Lines 38-43 Link Here
38
        <div class="col-sm-10 col-sm-push-2">
38
        <div class="col-sm-10 col-sm-push-2">
39
            <main>
39
            <main>
40
                <div class="row">
40
                <div class="row">
41
                    <div id="transient_result"></div>
41
                    [% INCLUDE 'cat-toolbar.inc' %]
42
                    [% INCLUDE 'cat-toolbar.inc' %]
42
                    <h1>Bookings for [% INCLUDE 'biblio-title-head.inc' %]</h1>
43
                    <h1>Bookings for [% INCLUDE 'biblio-title-head.inc' %]</h1>
43
                    <div class="page-section" id="bookings-timeline"></div>
44
                    <div class="page-section" id="bookings-timeline"></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (+1 lines)
Lines 48-53 Link Here
48
        <div class="col-sm-10 col-sm-push-2">
48
        <div class="col-sm-10 col-sm-push-2">
49
            <main>
49
            <main>
50
                [% INCLUDE 'messages.inc' %]
50
                [% INCLUDE 'messages.inc' %]
51
                <div id="transient_result"></div>
51
            [% INCLUDE 'cat-toolbar.inc' %]
52
            [% INCLUDE 'cat-toolbar.inc' %]
52
                <h1>
53
                <h1>
53
                    [% IF ( unknownbiblionumber ) %]
54
                    [% IF ( unknownbiblionumber ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (+1 lines)
Lines 55-60 Link Here
55
  <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
55
  <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
56
[% ELSE %]
56
[% ELSE %]
57
57
58
<div id="transient_result"></div>
58
[% INCLUDE 'cat-toolbar.inc' %]
59
[% INCLUDE 'cat-toolbar.inc' %]
59
60
60
[% UNLESS ( popup ) %]
61
[% UNLESS ( popup ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (+1 lines)
Lines 92-97 Link Here
92
[% CoceHost        = Koha.Preference('CoceHost') %]
92
[% CoceHost        = Koha.Preference('CoceHost') %]
93
[% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %]
93
[% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %]
94
94
95
<div id="transient_result"></div>
95
[% INCLUDE 'cat-toolbar.inc' %]
96
[% INCLUDE 'cat-toolbar.inc' %]
96
    [% IF ( ocoins ) %]
97
    [% IF ( ocoins ) %]
97
        <!-- COinS / OpenURL -->
98
        <!-- COinS / OpenURL -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-2 / +2 lines)
Lines 42-52 Link Here
42
        <div class="col-sm-10 col-sm-push-2">
42
        <div class="col-sm-10 col-sm-push-2">
43
            <main>
43
            <main>
44
                [% INCLUDE 'messages.inc' %]
44
                [% INCLUDE 'messages.inc' %]
45
                <div id="transient_result"></div>
46
                [% INCLUDE 'cat-toolbar.inc' %]
45
47
46
                <h1>Item details for [% INCLUDE 'biblio-title-head.inc' %]</h1>
48
                <h1>Item details for [% INCLUDE 'biblio-title-head.inc' %]</h1>
47
49
48
                [% INCLUDE 'cat-toolbar.inc' %]
49
50
                <div id="catalogue_detail_biblio">
50
                <div id="catalogue_detail_biblio">
51
                    <div class="page-section clearfix">
51
                    <div class="page-section clearfix">
52
                        <h2>[% title | html %]</h2>
52
                        <h2>[% title | html %]</h2>
(-)a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js (-1 / +9 lines)
Lines 489-494 $("#placeBookingForm").on('submit', function(e) { Link Here
489
            // Update bookings counts
489
            // Update bookings counts
490
            $('.bookings_count').html(parseInt($('.bookings_count').html(), 10)+1);
490
            $('.bookings_count').html(parseInt($('.bookings_count').html(), 10)+1);
491
491
492
            // Set feedback
493
            $('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully placed")+'</div>');
494
492
            // Close modal
495
            // Close modal
493
            $('#placeBookingModal').modal('hide');
496
            $('#placeBookingModal').modal('hide');
494
        });
497
        });
Lines 540-545 $("#placeBookingForm").on('submit', function(e) { Link Here
540
                timeline.focus(data.booking_id);
543
                timeline.focus(data.booking_id);
541
            }
544
            }
542
545
546
<<<<<<< HEAD
547
=======
548
            // Set feedback
549
            $('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully updated")+'</div>');
550
551
>>>>>>> 9195757e2f1 (Bug 35813: Add success feedback after placing/editing bookings)
543
            // Close modal
552
            // Close modal
544
            $('#placeBookingModal').modal('hide');
553
            $('#placeBookingModal').modal('hide');
545
        });
554
        });
546
- 

Return to bug 35813