Bugzilla – Attachment 194734 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
Bug-41573-Tidy-kohaTable---patronlistsliststt.patch (text/plain), 2.25 KB, created by
Paul Derscheid
on 2026-03-06 14:36:43 UTC
(
hide
)
Description:
Bug 41573: Tidy kohaTable - patron_lists/lists.tt
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-03-06 14:36:43 UTC
Size:
2.25 KB
patch
obsolete
>From 86a6146b2cb284937c7126c052910ff3921acb60 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 > >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > .../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.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 41573
:
191139
|
191140
|
191141
|
191142
|
194733
|
194734
|
194735
|
194736
|
194737
|
194738
|
194746
|
194747
|
194748
|
194749
|
194750
|
194751