Bugzilla – Attachment 133946 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 $datetime formater
Bug-23838-Use-datetime-formater.patch (text/plain), 1.83 KB, created by
Martin Renvoize (ashimema)
on 2022-04-26 15:11:40 UTC
(
hide
)
Description:
Bug 23838: Use $datetime formater
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-04-26 15:11:40 UTC
Size:
1.83 KB
patch
obsolete
>From f045bd75c829baeff5d06dd759729175d720cb43 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 18 Mar 2022 14:53:41 +0000 >Subject: [PATCH] Bug 23838: Use $datetime formater > >--- > 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 088da10000..9f75a66f57 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -161,6 +161,7 @@ > [% INCLUDE 'columns_settings.inc' %] > [% INCLUDE 'patron-renewal-modal.inc' %] > [% INCLUDE 'patron-renewal-modal-strings.inc' %] >+ [% INCLUDE 'js-date-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 1c4cc81a95..01c79c1aa5 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">' + 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">' + renewal.renewer.firstname + ' ' + renewal.renewer.surname + '</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