X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2Fflash.html;h=9ff22adeb60783a634626bd40e4fc742e6c20a3b;hb=08460123f185fc145d4d87ae150b6b5f051d119a;hp=03bf3b405c8a840ddc98676e0f59d57f03a982aa;hpb=e8f9198a000dc292056bd154aad4c8a78beb4094;p=kivitendo-erp.git
diff --git a/templates/webpages/common/flash.html b/templates/webpages/common/flash.html
index 03bf3b405..9ff22adeb 100644
--- a/templates/webpages/common/flash.html
+++ b/templates/webpages/common/flash.html
@@ -1,22 +1,29 @@
[%- USE HTML -%][%- USE LxERP %][%- USE T8 %]
-[%- IF FLASH %]
- [%- BLOCK output %]
-
-
- [%- title %]:
+[%- BLOCK output %]
+
+
+
+
[%- title %]:
+
[% FOREACH message = messages %]
[%- HTML.escape(message) %]
[%- UNLESS loop.last %]
[% END %]
[%- END %]
+
+
+
+ [[% 'Details' | $T8 %]]
+
+
+
+
+
- [%- END %]
- [%- IF FLASH.error && FLASH.error.size %]
- [%- PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %]
- [%- END %]
- [%- IF FLASH.warning && FLASH.warning.size %]
- [%- PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %]
- [%- END %]
- [%- IF FLASH.info && FLASH.info.size %]
- [%- PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %]
- [%- END %]
+
[%- END %]
+[%- PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %]
+[%- PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %]
+[%- PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %]
+[%- PROCESS output title=LxERP.t8('Ok') type='ok' messages = FLASH.ok %]