From 5f123ba1a93408bea5ac4bcbcd3029c1222c5c93 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 5 Jan 2026 09:12:31 -0500 Subject: [PATCH] Bug 41497: ul.patronbriefinfo inconsistent in coding structure This patch updates the markup of the include which displays patron information on the checkout and patron detail pages. The changes are minor and should have no visible effect. To test, apply the patch and search for a patron in the staff interface. View the patron information in the sidebar on both the checkout and patron detail pages. Everything should look correct. Sponsored-by: Athens County Public Libraries Signed-off-by: Manvi --- .../prog/en/includes/circ-menu.inc | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 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 6f9909c..91ed9f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -112,19 +112,19 @@ [% END %] [% UNLESS ( patron.address or patron.address2 ) %] -
  • No address stored.
  • +
  • No address stored.
  • [% END %] [% UNLESS ( patron.city ) %] -
  • No city stored.
  • +
  • No city stored.
  • [% END %] [% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %] -
  • No phone stored.
  • +
  • No phone stored.
  • [% END %] [% UNLESS ( patron.email or patron.emailpro) %] -
  • No email stored.
  • +
  • No email stored.
  • [% END %] [% UNLESS ( patron.dateofbirth ) %] -
  • No date of birth stored.
  • +
  • No date of birth stored.
  • [% END %] [% END # /IF HidePersonalPatronDetailOnCirculation %] @@ -150,18 +150,12 @@
  • Category: [% patron.category.description | html %] ([% patron.categorycode | html %])
  • Home library: [% Branches.GetName( patron.branchcode ) | html %]
  • Borrowernumber: [% patron.borrowernumber | html %]
  • -
  • - Updated on: [% patron.updated_on | $KohaDates with_hours => 1 %] -
  • +
  • Updated on: [% patron.updated_on | $KohaDates with_hours => 1 %]
  • [% IF Koha.Preference('TrackLastPatronActivityTriggers') %] [% IF ( patron.lastseen ) %] -
  • - Last seen on: [% patron.lastseen | $KohaDates with_hours => 1 %] -
  • +
  • Last seen on: [% patron.lastseen | $KohaDates with_hours => 1 %]
  • [% ELSE %] -
  • - Last seen on: not recorded -
  • +
  • Last seen on: not recorded
  • [% END %] [% END %] [% IF patron.account_locked %] -- 2.39.5