6 <div id="flash_[% type %]" class="flash_message flash_message_[% type %]" [% IF !messages || !messages.size %] style="display: none" [% END %]>
7 <div class="icon-container">
8 <a href="#" onclick='$("#flash_[% type %]_content").empty();$("#flash_[% type %]_detail").empty();$("#flash_[% type %]").hide()' class="icon-close"> ✕</a>
9 <span id="flash_[% type %]_disp" class="display" style="display: none">
10 <a href="#" onclick='$("#flash_detail_[% type %]").toggle();' class="button"> [% 'Details' | $T8 %] </a>
13 <div class="message-container">
14 <span class="flash_title">[% title %]:</span>
15 <div class="flash_notification">
16 <span id="flash_[% type %]_content" class="content">
17 [% FOREACH message = messages %] [% HTML.escape(message) %] [% UNLESS loop.last %]<br>[% END %] [% END %]
19 <div id="flash_detail_[% type %]" class="detail" style="display: none">
20 <span id="flash_[% type %]_detail"></span>
21 <a href="#" style="float:left" onclick='$("#flash_detail_[% type %]").hide()' class="icon-close">✕</a>
23 </div><!-- /.flash_notification -->
26 [% END #BLOCK output %]
28 [% PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %]
29 [% PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %]
30 [% PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %]
31 [% PROCESS output title=LxERP.t8('Ok') type='ok' messages = FLASH.ok %]