Now the modules SLA slicebar has a different color in the planned downtimes period

Ticket #2341
(cherry picked from commit a512065c22)
This commit is contained in:
Alejandro Gallardo Escobar 2015-07-03 13:16:30 +02:00
parent 480a1f3f9c
commit 054401484e
1 changed files with 3 additions and 1 deletions

View File

@ -1731,11 +1731,13 @@ function graph_sla_slicebar ($id, $period, $sla_min, $sla_max, $date, $daysWeek
$sla_min, $sla_max, $date, $daysWeek, $time_from, $time_to);
}
$col_planned_downtime = '#20973F';
$colors = array(1 => COL_NORMAL,
2 => COL_WARNING,
3 => COL_CRITICAL,
4 => COL_UNKNOWN,
5 => COL_NOTINIT);
5 => $col_planned_downtime);
return slicesbar_graph($data, $period, $width, $height, $colors,
$config['fontpath'], $round_corner, $home_url, $ttl);