X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Fcommon%2Fflash.html;h=1f537ac4a9f0ab8e19c047c9b0a81a498cb75053;hb=e48eb4dc7e721dbdf15417167e9320fd12decf69;hp=129d6a3be0cc5998db2af5c4820ff3e58fca5ae6;hpb=4275966729691b3ae94efeeee829fa24cbf85e93;p=kivitendo-erp.git
diff --git a/templates/webpages/common/flash.html b/templates/webpages/common/flash.html
index 129d6a3be..1f537ac4a 100644
--- a/templates/webpages/common/flash.html
+++ b/templates/webpages/common/flash.html
@@ -1,22 +1,29 @@
-[%- USE HTML -%][%- USE LxERP %]
-[%- IF FLASH %]
- [%- BLOCK output %]
-
-
![[%](image/close.png)
- [%- title %]:
+[%- USE HTML -%][%- USE LxERP %][%- USE T8 %]
+[%- BLOCK output %]
+
+
+ ![[%](image/close.png)
+
[%- 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 %]