Bugzilla – Attachment 189531 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) Don't try to show last seen info if there is none
Bug-33647-follow-up-Dont-try-to-show-last-seen-inf.patch (text/plain), 1.68 KB, created by
Martin Renvoize (ashimema)
on 2025-11-13 08:00:42 UTC
(
hide
)
Description:
Bug 33647: (follow-up) Don't try to show last seen info if there is none
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-11-13 08:00:42 UTC
Size:
1.68 KB
patch
obsolete
>From 14875783daab3c634d3ad5cb35e1ed216e70beea Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 14 Aug 2025 16:00:54 +0000 >Subject: [PATCH] Bug 33647: (follow-up) Don't try to show last seen info if > there is none > >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, 5 insertions(+), 3 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 8e254dd5f87..4be38316ea3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -153,9 +153,11 @@ > <li> > <span class="patronupdatedon">Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]</span> > </li> >- <li> >- <span class="patronlastseenon">Last seen on [% patron.lastseen | $KohaDates with_hours => 1 %]</span> >- </li> >+ [% IF ( patron.lastseen ) %] >+ <li> >+ <span class="patronlastseenon">Last seen on [% patron.lastseen | $KohaDates with_hours => 1 %]</span> >+ </li> >+ [% END %] > [% IF patron.account_locked %] > [% IF patron.login_attempts < 0 %] > <li class="blocker account_admin_locked">Account has been administratively locked</li> >-- >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