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/modals/place_booking.js (-1 / +9 lines)
Lines 614-619 $("#placeBookingForm").on("submit", function (e) { Link Here
614
                parseInt($(".bookings_count").html(), 10) + 1
614
                parseInt($(".bookings_count").html(), 10) + 1
615
            );
615
            );
616
616
617
            // Set feedback
618
            $('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully placed")+'</div>');
619
617
            // Close modal
620
            // Close modal
618
            $("#placeBookingModal").modal("hide");
621
            $("#placeBookingModal").modal("hide");
619
        });
622
        });
Lines 674-679 $("#placeBookingForm").on("submit", function (e) { Link Here
674
                timeline.focus(data.booking_id);
677
                timeline.focus(data.booking_id);
675
            }
678
            }
676
679
680
<<<<<<< HEAD
681
=======
682
            // Set feedback
683
            $('#transient_result').replaceWith('<div id="transient_result" class="dialog success">'+_("Booking successfully updated")+'</div>');
684
685
>>>>>>> 9195757e2f1 (Bug 35813: Add success feedback after placing/editing bookings)
677
            // Close modal
686
            // Close modal
678
            $("#placeBookingModal").modal("hide");
687
            $("#placeBookingModal").modal("hide");
679
        });
688
        });
680
- 

Return to bug 35813