From 18685e69ed8664ac218d68d304a7c43d9e8fd991 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 21 Nov 2025 07:42:22 -0500 Subject: [PATCH] Bug 41116: (follow-up) Some more fixes for consistency - There was a mix of "patronphone" and "patron-phone" and I fixed it to standardize on "patron-phone" (and patron-email) which I find easier to read. - I made similar changes to the branchtransfers template - Corrected the TT filter on mailto links from "html" to "uri" Signed-off-by: David Nind --- .../prog/en/modules/circ/branchtransfers.tt | 4 +-- .../prog/en/modules/circ/returns.tt | 26 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index c03e8ee439..d6692ea1ec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -97,11 +97,11 @@ [% INCLUDE display_holdpatron_address %] [% IF ( patron.phone ) %] -
  • [% patron.phone | html %]
  • +
  • [% patron.phone | html %]
  • [% END %] [% IF ( patron.email ) %] -
  • [% patron.email | html %]
  • +
  • [% patron.email | html %]
  • [% END %] [% IF ( patron.is_debarred ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 8fcd65b5c6..80e8f1f7d8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -77,15 +77,15 @@ [% INCLUDE display_holdpatron_address %] [% IF ( patron.phone ) %] -
  • [% patron.phone | html %]
  • +
  • [% patron.phone | html %]
  • [% END %] [% IF ( patron.email ) %] -
  • +
  • [% IF ( transfertodo ) %] [% patron.email | html %] [% ELSE %] - [% patron.email | html %] + [% patron.email | html %] [% END %]
  • [% END %] @@ -697,10 +697,10 @@ [% INCLUDE display_holdpatron_address %] [% IF ( patron.phone ) %] -
  • [% patron.phone | html %]
  • +
  • [% patron.phone | html %]
  • [% END %] [% IF ( patron.email ) %] -
  • [% patron.email | html %]
  • +
  • [% patron.email | html %]
  • [% END %] [% IF ( patron.smsalertnumber ) %] @@ -909,11 +909,11 @@ [% END %] [% IF ( patron.email ) %] -
  • +
  • [% IF ( transfertodo ) %] [% patron.email | html %] [% ELSE %] - [% patron.email | html %] + [% patron.email | uri %] [% END %]
  • [% END %] @@ -1010,15 +1010,15 @@ [% INCLUDE display_holdpatron_address patron=recall.patron %] [% IF ( recall.patron.phone ) %] - [% recall.patron.phone | html %] +
  • [% recall.patron.phone | html %]
  • [% END %] [% IF ( recall.patron.email ) %] -
  • +
  • [% IF ( transfertodo ) %] [% recall.patron.email | html %] [% ELSE %] - [% recall.patron.email | html %] + [% recall.patron.email | html %] [% END %]
  • [% END %] @@ -1107,15 +1107,15 @@ [% INCLUDE display_holdpatron_address patron=recall.patron %] [% IF ( recall.patron.phone ) %] -
  • [% recall.patron.phone | html %]
  • +
  • [% recall.patron.phone | html %]
  • [% END %] [% IF ( recall.patron.email ) %] -
  • +
  • [% IF ( transfertodo ) %] [% recall.patron.email | html %] [% ELSE %] - [% recall.patron.email | html %] + [% recall.patron.email | html %] [% END %]
  • [% END %] -- 2.39.5