Bugzilla – Attachment 185403 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.50 KB, created by
Owen Leonard
on 2025-08-14 16:02:59 UTC
(
hide
)
Description:
Bug 33647: (follow-up) Don't try to show last seen info if there is none
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-08-14 16:02:59 UTC
Size:
1.50 KB
patch
obsolete
>From 93a5fb85b210d25ac48486e5aa41de0542e1573e 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 > >--- > 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 f9d3bddd15b..e0bc7c9f04a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -145,9 +145,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.39.5
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