Change count column label text in agent detail section - #75
This commit is contained in:
parent
bfe40653df
commit
454a799c3d
|
@ -7974,10 +7974,11 @@ function reporting_tiny_stats ($counts_info, $return = false, $type = 'agent', $
|
|||
switch ($type) {
|
||||
case 'modules':
|
||||
$template_title['total_count'] = __('%d Total modules');
|
||||
$template_title['normal_count'] = __('%d Normal modules');
|
||||
$template_title['critical_count'] = __('%d Critical modules');
|
||||
$template_title['warning_count'] = __('%d Warning modules');
|
||||
$template_title['unknown_count'] = __('%d Unknown modules');
|
||||
$template_title['normal_count'] = __('%d Modules in normal status');
|
||||
$template_title['critical_count'] = __('%d Modules in critical status');
|
||||
$template_title['warning_count'] = __('%d Modules in warning status');
|
||||
$template_title['unknown_count'] = __('%d Modules in unknown status');
|
||||
$template_title['not_init_count'] = __('%d Not init modules');
|
||||
break;
|
||||
case 'agent':
|
||||
$template_title['total_count'] = __('%d Total modules');
|
||||
|
|
|
@ -601,7 +601,7 @@ foreach ($agents as $agent) {
|
|||
|
||||
$data[4] = ui_print_group_icon ($agent["id_grupo"], true);
|
||||
$agent['not_init_count'] = $agent['notinit_count'];
|
||||
$data[5] = reporting_tiny_stats($agent, true, 'agent', ':', $strict_user);
|
||||
$data[5] = reporting_tiny_stats($agent, true, 'modules', ':', $strict_user);
|
||||
|
||||
|
||||
$data[6] = $status_img;
|
||||
|
|
Loading…
Reference in New Issue