]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/common/flash.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / common / flash.html
1 [% USE HTML %]
2 [% USE LxERP %]
3 [% USE T8 %]
4
5 [% BLOCK output %]
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"> &#10005;</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>
11   </span>
12 </div>
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 %]
18     </span>
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">&#10005;</a>
22     </div>
23   </div><!-- /.flash_notification -->
24 </div>
25 </div>
26 [% END #BLOCK output %]
27
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 %]