From 846ab3a0f1c07de11b3119d01e87d31480c97ae6 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 Removed "Hold item:" from subject line as it would not translate. Signed-off-by: Katrin Fischer --- .../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 890085ad05..cabae9b64f 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.39.5