Bugzilla – Attachment 47391 Details for
Bug 15667
Messages in patron account display dates wrongly formatted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 15667: Fix date and branch formatting of messages in patron account display
SIGNED-OFFBug-15667-Fix-date-and-branch-formatting.patch (text/plain), 2.90 KB, created by
Héctor Eduardo Castro Avalos
on 2016-01-28 15:19:58 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 15667: Fix date and branch formatting of messages in patron account display
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-01-28 15:19:58 UTC
Size:
2.90 KB
patch
obsolete
>From 0985808dcb483d7ef4f80850b7fa48c5085a8898 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 26 Jan 2016 16:33:49 +0100 >Subject: [PATCH] [SIGNED-OFF]Bug 15667: Fix date and branch formatting of > messages in patron account display > >This patch fixes the date and branch formatting of messages in patron >account display. > >To verify: >Add a new message to a patron account from the 'checkouts' tab in staff, >the displayed date is not correctly formatted and the branch displays as code >instead as branch name > >To test: >Apply patch, verify that the messages and branch names are properly formatted. > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as described. The message dates in checkouts tab follow dateformat sypref >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 6fd722c..fba51ee 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -844,8 +844,8 @@ No patron matched <span class="ex">[% message %]</span> > [% FOREACH lib_messages_loo IN lib_messages_loop %] > <li> > <span class="circ-hlt"> >- [% lib_messages_loo.message_date_formatted %] >- [% lib_messages_loo.branchcode %] >+ [% lib_messages_loo.message_date_formatted | $KohaDates %] >+ [% Branches.GetName( lib_messages_loo.branchcode ) %] > <i>"[% lib_messages_loo.message %]"</i> > </span> > [% IF ( lib_messages_loo.can_delete ) %] >@@ -858,7 +858,7 @@ No patron matched <span class="ex">[% message %]</span> > </li> > [% END %] > [% FOREACH bor_messages_loo IN bor_messages_loop %] >- <li><span class="">[% bor_messages_loo.message_date_formatted %] [% bor_messages_loo.branchcode %] <i>"[% bor_messages_loo.message %]"</i></span> [% IF ( bor_messages_loo.can_delete ) %]<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a> >+ <li><span class="">[% bor_messages_loo.message_date_formatted | $KohaDates %] [% Branches.GetName( bor_messages_loo.branchcode ) %] <i>"[% bor_messages_loo.message %]"</i></span> [% IF ( bor_messages_loo.can_delete ) %]<a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a> > [% ELSIF ( all_messages_del ) %] > <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% bor_messages_loo.message_id %]&borrowernumber=[% bor_messages_loo.borrowernumber %]">[Delete]</a> > [% END %]</li> >-- >1.7.10.4
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 15667
:
47312
|
47391
|
47468