From 80fc2a32db8036fd10e1c49c9f72215597bc4d3b Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Mon, 19 Jan 2015 15:14:09 +0100 Subject: [PATCH] Improve layout in AlertSummary Use brighter color for notifications, render hours more readable. --- .../application/controllers/AlertsummaryController.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/monitoring/application/controllers/AlertsummaryController.php b/modules/monitoring/application/controllers/AlertsummaryController.php index 79aad7f72..652c09be3 100644 --- a/modules/monitoring/application/controllers/AlertsummaryController.php +++ b/modules/monitoring/application/controllers/AlertsummaryController.php @@ -429,11 +429,10 @@ class Monitoring_AlertsummaryController extends Controller $item[1] = $item[1]/60/60; } - $gridChart->drawBars( array( 'label' => $this->translate('Notifications'), - 'color' => '#049baf', + 'color' => '#07C0D9', 'data' => $notifications, 'showPoints' => true ) @@ -478,7 +477,7 @@ class Monitoring_AlertsummaryController extends Controller $gridChart->drawBars( array( 'label' => $this->translate('Notifications'), - 'color' => '#049baf', + 'color' => '#07C0D9', 'data' => $this->notificationData, 'showPoints' => true ) @@ -554,7 +553,7 @@ class Monitoring_AlertsummaryController extends Controller { $format = ''; if ($interval === '1d') { - $format = '%H:00:00'; + $format = '%H:00'; } elseif ($interval === '1w') { $format = '%Y-%m-%d'; } elseif ($interval === '1m') {