From 93a5fb85b210d25ac48486e5aa41de0542e1573e Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 @@
  • Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]
  • -
  • - Last seen on [% patron.lastseen | $KohaDates with_hours => 1 %] -
  • + [% IF ( patron.lastseen ) %] +
  • + Last seen on [% patron.lastseen | $KohaDates with_hours => 1 %] +
  • + [% END %] [% IF patron.account_locked %] [% IF patron.login_attempts < 0 %]
  • Account has been administratively locked
  • -- 2.39.5