Merge branch 'master' of github.com:kivitendo/kivitendo-erp
[kivitendo-erp.git] / templates / webpages / common / flash.html
index b7164fb..03bf3b4 100644 (file)
@@ -1,7 +1,8 @@
-[%- USE HTML -%][%- USE LxERP %]
+[%- USE HTML -%][%- USE LxERP %][%- USE T8 %]
 [%- IF FLASH %]
  [%- BLOCK output %]
   <div class="flash_message_[% type %]">
+    <a href='#' style='float:right' onclick='$($(this).closest("div")).remove()'><img src='image/close.png' border='0' alt='[% 'Close Flash' | $T8 %]'></a>
    [%- title %]:
    [% FOREACH message = messages %]
     [%- HTML.escape(message) %]