X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2Fflash.html;h=4b705cdfcdf9dd1650d3149d687fc980186c3a3b;hb=a87694dc525b4eabff11029f1e5401621e2bd3bc;hp=03bf3b405c8a840ddc98676e0f59d57f03a982aa;hpb=e8f9198a000dc292056bd154aad4c8a78beb4094;p=kivitendo-erp.git diff --git a/templates/webpages/common/flash.html b/templates/webpages/common/flash.html index 03bf3b405..4b705cdfc 100644 --- a/templates/webpages/common/flash.html +++ b/templates/webpages/common/flash.html @@ -1,22 +1,17 @@ [%- USE HTML -%][%- USE LxERP %][%- USE T8 %] -[%- IF FLASH %] - [%- BLOCK output %] -
- [% - [%- title %]: +[%- BLOCK output %] + - [%- 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 %]