Bug 30952: Remove messages box on patron detail page when empty

Issue #28

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Julian Maurice 2022-09-13 14:49:07 +02:00 committed by Tomas Cohen Arazi
parent 07624601af
commit 0e0604132e
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -94,11 +94,14 @@
</div> </div>
[% END %] [% END %]
<div class="col-sm-12"> [% messages = INCLUDE 'patron_messages.inc' moremember = 1 | trim %]
<div id="patron_messages" class="circmessage attention"> [% IF messages %]
[% INCLUDE 'patron_messages.inc' moremember = 1 %] <div class="col-sm-12">
<div id="patron_messages" class="circmessage attention">
[% messages | $raw %]
</div>
</div> </div>
</div> [% END %]
<div class="col-sm-12"> <div class="col-sm-12">
<h1>[% INCLUDE 'patron-title.inc' no_html = 1 %]</h1> <h1>[% INCLUDE 'patron-title.inc' no_html = 1 %]</h1>