Bugzilla – Attachment 189532 Details for
Bug 33647
Display borrowers.lastseen in patron record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33647: (follow-up) Add UI improvements
Bug-33647-follow-up-Add-UI-improvements.patch (text/plain), 2.07 KB, created by
Martin Renvoize (ashimema)
on 2025-11-13 08:00:45 UTC
(
hide
)
Description:
Bug 33647: (follow-up) Add UI improvements
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-11-13 08:00:45 UTC
Size:
2.07 KB
patch
obsolete
>From 97823030f1b9191eff202df1f2bf4b11a2f48825 Mon Sep 17 00:00:00 2001 >From: Lari Strand <lari.strand@koha-suomi.fi> >Date: Tue, 19 Aug 2025 11:56:18 +0300 >Subject: [PATCH] Bug 33647: (follow-up) Add UI improvements > >Use colon for Updated on and Last seen on texts >If lastseen value doesn't exist, show the text 'Never' in UI > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Bernard Scaife <bernard.scaife@openfifth.co.uk> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index 4be38316ea3..e1f2358944c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -151,11 +151,15 @@ > <li class="patronlibrary"> Home library: [% Branches.GetName( patron.branchcode ) | html %] </li> > <li class="patronborrowernumber"> Borrowernumber: [% patron.borrowernumber | html %] </li> > <li> >- <span class="patronupdatedon">Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]</span> >+ <span class="patronupdatedon">Updated on: [% patron.updated_on | $KohaDates with_hours => 1 %]</span> > </li> > [% IF ( patron.lastseen ) %] > <li> >- <span class="patronlastseenon">Last seen on [% patron.lastseen | $KohaDates with_hours => 1 %]</span> >+ <span class="patronlastseenon">Last seen on: [% patron.lastseen | $KohaDates with_hours => 1 %]</span> >+ </li> >+ [% ELSE %] >+ <li> >+ <span class="patronlastseenon">Last seen on: Never</span> > </li> > [% END %] > [% IF patron.account_locked %] >-- >2.51.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 33647
:
185382
|
185402
|
185403
|
185535
|
187223
|
188925
|
189530
|
189531
| 189532 |
189533