mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-9662-second-round' of brutus.artica.es:artica/pandorafms into ent-9662-second-round
This commit is contained in:
commit
9508d2d572
@ -907,12 +907,12 @@ if ($agents !== false) {
|
|||||||
$agentDisableEnableTitle = __('Enable agent');
|
$agentDisableEnableTitle = __('Enable agent');
|
||||||
$agentDisableEnableAction = 'enable_agent';
|
$agentDisableEnableAction = 'enable_agent';
|
||||||
$agentDisableEnableCaption = __('You are going to enable a cluster agent. Are you sure?');
|
$agentDisableEnableCaption = __('You are going to enable a cluster agent. Are you sure?');
|
||||||
$agentDisableEnableIcon = 'change-pause.svg';
|
$agentDisableEnableIcon = 'change-active.svg';
|
||||||
} else {
|
} else {
|
||||||
$agentDisableEnableTitle = __('Disable agent');
|
$agentDisableEnableTitle = __('Disable agent');
|
||||||
$agentDisableEnableAction = 'disable_agent';
|
$agentDisableEnableAction = 'disable_agent';
|
||||||
$agentDisableEnableCaption = __('You are going to disable a cluster agent. Are you sure?');
|
$agentDisableEnableCaption = __('You are going to disable a cluster agent. Are you sure?');
|
||||||
$agentDisableEnableIcon = 'change-active.svg';
|
$agentDisableEnableIcon = 'change-pause.svg';
|
||||||
}
|
}
|
||||||
|
|
||||||
$agentActionButtons[] = html_print_menu_button(
|
$agentActionButtons[] = html_print_menu_button(
|
||||||
|
@ -4816,7 +4816,7 @@ function graph_nodata_image($options)
|
|||||||
$height = $options['height'];
|
$height = $options['height'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$width_style = '';
|
$width_style = 'width: 200px';
|
||||||
if (isset($options['width']) === true
|
if (isset($options['width']) === true
|
||||||
&& empty($options['width']) === false
|
&& empty($options['width']) === false
|
||||||
) {
|
) {
|
||||||
@ -4835,7 +4835,7 @@ function graph_nodata_image($options)
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('No data'),
|
'title' => __('No data'),
|
||||||
'style' => 'height:'.$height.'px;'.$width_style,
|
'style' => $width_style,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user