1 [% IF patron_messages.filter_by_unread.count OR opacnote %]
2 <div class="alert alert-info">
3 <h3>Messages for you</h3>
5 [% FOREACH message IN patron_messages.filter_by_unread %]
7 <strong>[% message.message | html | html_line_break %]</strong><br>
8 <em>Written on [% message.message_date | $KohaDates %] by [% Branches.GetName(message.branchcode) | html %]</em>
10 <form id="dismiss-message-form" action="/cgi-bin/koha/opac-dismiss-message.pl" method="post">
11 <input type="hidden" name="message_id" value="[% message.message_id | html %]">
12 <button type="submit" class="dismiss-message-button btn btn-primary"><i class="fa fa-trash" aria-hidden="true"></i> Dismiss</button>
16 [% IF ( opacnote ) %]<li>[% opacnote | html | html_line_break %]</li>[% END %]