mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
13219-Add Agent and module name in Availability graph with Failover simple
This commit is contained in:
parent
aeaaaf54d4
commit
c1a161b893
@ -6018,6 +6018,15 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
|
||||
$total_values .= $sla_value;
|
||||
$count_total_charts++;
|
||||
$title = '<b>'.__('Result').'</b>';
|
||||
|
||||
if (isset($chart['agent']) === true) {
|
||||
$title .= '<br />'.$chart['agent'];
|
||||
}
|
||||
|
||||
if (isset($chart['module']) === true) {
|
||||
$title .= '<br />'.$chart['module'];
|
||||
}
|
||||
|
||||
$sla_value_text = "<span style = 'font-weight: bold; font-size: ".$font_size.(($pdf === 0) ? ' !important' : '').'; color: '.$color."'>".$sla_value.'</span>';
|
||||
$checks_resume_text = '<span style = "font-size: '.$font_mini.';">';
|
||||
$checks_resume_text .= $checks_resume;
|
||||
|
Loading…
x
Reference in New Issue
Block a user