Bugzilla – Attachment 138007 Details for
Bug 23838
Add ability to view item renew history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23838: Use $patron_to_html formater
Bug-23838-Use-patrontohtml-formater.patch (text/plain), 1.93 KB, created by
Martin Renvoize (ashimema)
on 2022-07-22 09:57:39 UTC
(
hide
)
Description:
Bug 23838: Use $patron_to_html formater
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-07-22 09:57:39 UTC
Size:
1.93 KB
patch
obsolete
>From dc57a059b3ebc7b406b61cf88ee607eb0d5ebf43 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 22 Jul 2022 10:56:40 +0100 >Subject: [PATCH] Bug 23838: Use $patron_to_html formater > >This patch updates the renewals modal to correctly format the staff >member who renewed the checkout. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt | 1 + > koha-tmpl/intranet-tmpl/prog/js/patron-renewal-modal.js | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index cc04c59178..3d1961e4e6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -162,6 +162,7 @@ > [% INCLUDE 'patron-renewal-modal.inc' %] > [% INCLUDE 'patron-renewal-modal-strings.inc' %] > [% INCLUDE 'js-date-format.inc' %] >+ [% INCLUDE 'js-patron-format.inc' %] > [% Asset.js("js/patron-renewal-modal.js") | $raw %] > <script id="js"> > $(document).ready(function() { >diff --git a/koha-tmpl/intranet-tmpl/prog/js/patron-renewal-modal.js b/koha-tmpl/intranet-tmpl/prog/js/patron-renewal-modal.js >index 01c79c1aa5..20a9e16526 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/patron-renewal-modal.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/patron-renewal-modal.js >@@ -20,6 +20,6 @@ $(document).ready(function(){ > }); > }); > function createLi(renewal) { >- return '<li><span style="font-weight:bold">' + $datetime(renewal.timestamp) + '</span> ' + renewed + ' <span style="font-weight:bold">' + renewal.renewer.firstname + ' ' + renewal.renewer.surname + '</li>'; >+ return '<li><span style="font-weight:bold">' + $datetime(renewal.timestamp) + '</span> ' + renewed + ' <span style="font-weight:bold">' + $patron_to_html(renewal.renewer) + '</span></li>'; > } > }); >-- >2.20.1
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 23838
:
94394
|
94395
|
94635
|
94636
|
94663
|
94664
|
94676
|
94681
|
94682
|
94683
|
94684
|
94685
|
95466
|
95467
|
95468
|
95469
|
95470
|
95471
|
95472
|
96186
|
96187
|
96188
|
96189
|
96190
|
131892
|
131914
|
131915
|
133945
|
133946
|
133966
|
133967
|
133968
|
134890
|
134891
|
134892
|
137167
|
137168
|
137169
|
138007
|
138019
|
138020
|
138021
|
138022
|
138039
|
138040
|
138041
|
138042
|
138043