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