From de66b95fa834d44d84b8d6e48b1ffbbd607d07e0 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 7 Mar 2013 11:25:04 +0100 Subject: [PATCH] Flash-DIVs immer ausgeben & Flash-Kategorie fett --- css/kivitendo/main.css | 4 ++++ css/lx-office-erp/main.css | 4 ++++ templates/webpages/common/flash.html | 26 ++++++++++---------------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/css/kivitendo/main.css b/css/kivitendo/main.css index c3c64dc76..0420034c7 100644 --- a/css/kivitendo/main.css +++ b/css/kivitendo/main.css @@ -361,3 +361,7 @@ label { margin-bottom: 5px; padding: 5px; } + +.flash_title { + font-weight: bold; +} diff --git a/css/lx-office-erp/main.css b/css/lx-office-erp/main.css index 328eac77f..fb88e57c9 100644 --- a/css/lx-office-erp/main.css +++ b/css/lx-office-erp/main.css @@ -377,6 +377,10 @@ label { padding: 5px; } +.flash_title { + font-weight: bold; +} + .jqmWindow { display: none; diff --git a/templates/webpages/common/flash.html b/templates/webpages/common/flash.html index 03bf3b405..cb592edc3 100644 --- a/templates/webpages/common/flash.html +++ b/templates/webpages/common/flash.html @@ -1,22 +1,16 @@ [%- 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 %] -- 2.20.1