From 03849a5d3675dac009cec449d12c2e6347aba5ab Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 13 Sep 2024 14:39:32 +0100 Subject: [PATCH] Bug 36595: (follow-up) Conditionals and consistency Added a conditional to only display email if there's actualy a notice_email_address present. Updated the address used to match the address displayed. Not sure how to resolve the translation issue. Signed-off-by: Martin Renvoize --- .../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index 890085ad05a..0bf9ebb22a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -218,10 +218,12 @@

[% UNLESS Koha.Preference('HidePatronName') %]

[% itemsloo.patron.phone | html %]

+ [% IF itemsloo.patron.notice_email_address %]

- + [% itemsloo.patron.notice_email_address | html %]

+ [% END %] [% END %] [% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %]) -- 2.46.0