diff --git a/data/web/css/build/008-mailcow.css b/data/web/css/build/008-mailcow.css index 3b7c051a..0f0fc462 100644 --- a/data/web/css/build/008-mailcow.css +++ b/data/web/css/build/008-mailcow.css @@ -182,3 +182,8 @@ nav .glyphicon { padding: 15px 0px 15px 15px; font-weight: bold; } +.alert-hr { + margin:3px 0px; + border-bottom:1px solid #f5f5f5!important; + opacity: 0.3; +} diff --git a/data/web/inc/footer.inc.php b/data/web/inc/footer.inc.php index a30680f5..ed84baa4 100644 --- a/data/web/inc/footer.inc.php +++ b/data/web/inc/footer.inc.php @@ -42,8 +42,11 @@ $(document).ready(function() { $alertbox_log_parser = alertbox_log_parser($_SESSION); if (is_array($alertbox_log_parser)) { foreach($alertbox_log_parser as $log) { + $alerts[$log['type']][] = $log['msg']; + } + foreach($alerts as $alert_type => $alert_msg) { ?> - mailcow_alert_box(, ); + mailcow_alert_box(', $alert_msg));?>, ); json_encode($msg), 'type' => json_encode($type)); + $log_array[] = array('msg' => $msg, 'type' => json_encode($type)); } if (!empty($log_array)) { return $log_array;