Bugzilla – Attachment 174792 Details for
Bug 35604
ILL - Allow for automatic backend selection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35604: Follow-up
Bug-35604-Follow-up.patch (text/plain), 2.61 KB, created by
Pedro Amorim
on 2024-11-19 15:07:34 UTC
(
hide
)
Description:
Bug 35604: Follow-up
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-11-19 15:07:34 UTC
Size:
2.61 KB
patch
obsolete
>From 68e55aecd31b20f85c25617a0f60d05ebe3e6c93 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 19 Nov 2024 15:07:43 +0000 >Subject: [PATCH] Bug 35604: Follow-up > >Consider success message from backend and present it. >Add btn-primary class to auto ILL screen >--- > koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index 63f85d72f7..9efb3b3e1b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -1036,7 +1036,7 @@ > <input type="hidden" name="method" value="create" /> > <input type="hidden" name="stage" value="form"> > <input type="hidden" name="confirm_auto_submitted" value="1"> >- <input type="submit" value="Confirm" /> >+ <input type="submit" class="btn btn-primary" value="Confirm" /> > <a class="cancel" href="ill-requests.pl">Cancel</a> > </fieldset> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js b/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js >index ac3dfe5892..e50f648d23 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js >@@ -24,7 +24,7 @@ $(document).ready(function () { > auto_backend.available = 0; > }, > success: function (data) { >- _addSuccessMessage(auto_backend.name); >+ _addSuccessMessage(auto_backend.name, data); > auto_backend.available = 1; > }, > error: function (request, textstatus) { >@@ -84,11 +84,11 @@ $(document).ready(function () { > _addBackendOption("Standard"); > } > >- function _addSuccessMessage(auto_backend_name) { >+ function _addSuccessMessage(auto_backend_name, data) { > _removeVerifyingMessage(auto_backend_name); > $(auto_ill_el + " > #backend-" + auto_backend_name).append( > '<span class="text-success"><i class="fa-solid fa-check"></i> ' + >- __("Available.").format(auto_backend_name) + >+ __("Available.").format(auto_backend_name) + " " + data.success + > "</span>" > ); > } >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35604
:
160035
|
164883
|
164884
|
164885
|
164886
|
164887
|
164888
|
165135
|
165164
|
165165
|
165294
|
165295
|
165296
|
165297
|
165298
|
165299
|
165300
|
166897
|
166898
|
166899
|
166900
|
166901
|
166902
|
166903
|
166995
|
166996
|
166997
|
166998
|
166999
|
167000
|
167001
|
171326
|
171327
|
171328
|
171329
|
171330
|
171331
|
171332
|
174515
|
174516
|
174517
|
174518
|
174519
|
174520
|
174521
|
174522
|
174524
|
174792
|
175828
|
175829
|
175830
|
175831
|
175832
|
175833
|
175834
|
175835
|
175836
|
176036
|
176261
|
176262
|
176263
|
176264
|
176265
|
176266
|
176267
|
176268
|
176269
|
176270
|
176572
|
176662
|
176681
|
176682
|
176683
|
176684
|
176685
|
176686
|
176687
|
176688
|
176689
|
176690
|
176691
|
176692