Bugzilla – Attachment 191140 Details for
Bug 41573
Tidy kohaTable block - patron_lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41573: Tidy kohaTable - patron_lists/lists.tt
0f6896a.patch (text/plain), 2.20 KB, created by
Jonathan Druart
on 2026-01-09 14:50:30 UTC
(
hide
)
Description:
Bug 41573: Tidy kohaTable - patron_lists/lists.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:50:30 UTC
Size:
2.20 KB
patch
obsolete
>From 0f6896abc6055d049b6d7fd254d8af5230141e27 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 14:15:09 +0100 >Subject: [PATCH] Bug 41573: Tidy kohaTable - patron_lists/lists.tt > >--- > .../intranet-tmpl/prog/en/modules/patron_lists/lists.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >index dc12d58ba98..6c24d13acec 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >@@ -162,6 +162,11 @@ > [% MACRO jsinclude BLOCK %] > [% Asset.js("js/tools-menu.js") | $raw %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ const interface = "[% interface | html %]"; >+ const theme = "[% theme | html %]"; >+ </script> >+ > <script> > $(document).ready(function() { > var patronExportModal = $("#patronExportModal"); >@@ -211,13 +216,13 @@ > }); > > patronExportModal.on("hidden.bs.modal", function(){ >- patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); >+ patronExportModalBody.html("<div id=\"loading\"><img src=\"" + interface + "/" + theme + "/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); > }); > > patronExportModal.on("submit", "#exportingf", function(e){ > e.preventDefault(); > modal_body = patronExportModalBody; >- modal_body.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); >+ modal_body.html("<div id=\"loading\"><img src=\"" + interface + "/" + theme + "/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); > target_url = $(this).attr("action"); > params = $( this ).serialize(); > $("#patronExportModal .modal-body").load( target_url + "?" + params + " #export_patron_list"); >-- >2.43.0 >
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 41573
:
191139
| 191140 |
191141
|
191142