From 0e0604132e540f63201d083bbca068b0a03711e6 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Tue, 13 Sep 2022 14:49:07 +0200 Subject: [PATCH] Bug 30952: Remove messages box on patron detail page when empty Issue #28 Signed-off-by: Martin Renvoize Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/members/moremember.tt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 2a774d00eb..d7f5bc2ab2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -94,11 +94,14 @@ [% END %] -
-
- [% INCLUDE 'patron_messages.inc' moremember = 1 %] + [% messages = INCLUDE 'patron_messages.inc' moremember = 1 | trim %] + [% IF messages %] +
+
+ [% messages | $raw %] +
-
+ [% END %]

[% INCLUDE 'patron-title.inc' no_html = 1 %]