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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-1 / +1 lines)
Lines 1036-1042 Link Here
1036
                                <input type="hidden" name="method" value="create" />
1036
                                <input type="hidden" name="method" value="create" />
1037
                                <input type="hidden" name="stage" value="form">
1037
                                <input type="hidden" name="stage" value="form">
1038
                                <input type="hidden" name="confirm_auto_submitted" value="1">
1038
                                <input type="hidden" name="confirm_auto_submitted" value="1">
1039
                                <input type="submit" value="Confirm" />
1039
                                <input type="submit" class="btn btn-primary" value="Confirm" />
1040
                                <a class="cancel" href="ill-requests.pl">Cancel</a>
1040
                                <a class="cancel" href="ill-requests.pl">Cancel</a>
1041
                            </fieldset>
1041
                            </fieldset>
1042
                        </form>
1042
                        </form>
(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js (-4 / +3 lines)
Lines 24-30 $(document).ready(function () { Link Here
24
                auto_backend.available = 0;
24
                auto_backend.available = 0;
25
            },
25
            },
26
            success: function (data) {
26
            success: function (data) {
27
                _addSuccessMessage(auto_backend.name);
27
                _addSuccessMessage(auto_backend.name, data);
28
                auto_backend.available = 1;
28
                auto_backend.available = 1;
29
            },
29
            },
30
            error: function (request, textstatus) {
30
            error: function (request, textstatus) {
Lines 84-94 $(document).ready(function () { Link Here
84
        _addBackendOption("Standard");
84
        _addBackendOption("Standard");
85
    }
85
    }
86
86
87
    function _addSuccessMessage(auto_backend_name) {
87
    function _addSuccessMessage(auto_backend_name, data) {
88
        _removeVerifyingMessage(auto_backend_name);
88
        _removeVerifyingMessage(auto_backend_name);
89
        $(auto_ill_el + " > #backend-" + auto_backend_name).append(
89
        $(auto_ill_el + " > #backend-" + auto_backend_name).append(
90
            '<span class="text-success"><i class="fa-solid fa-check"></i> ' +
90
            '<span class="text-success"><i class="fa-solid fa-check"></i> ' +
91
                __("Available.").format(auto_backend_name) +
91
                __("Available.").format(auto_backend_name) + " " + data.success +
92
                "</span>"
92
                "</span>"
93
        );
93
        );
94
    }
94
    }
95
- 

Return to bug 35604