Merge branch 'ent-4911-Informacion-mostrada-en-mapa-GIS-the-Satellite-Server' into 'develop'
Ent 4911 informacion mostrada en mapa gis the satellite server See merge request artica/pandorafms!2876
This commit is contained in:
commit
7061ab81b6
|
@ -302,7 +302,11 @@ switch ($opt) {
|
||||||
$osversion_offset = 0;
|
$osversion_offset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$row[] = ui_print_os_icon($agent['id_os'], true, true).' (<i><span title="'.$agent['os_version'].'">'.substr($agent['os_version'], $osversion_offset, 15).'</span></i>)';
|
if ($agent['os_version'] != '') {
|
||||||
|
$agent_os_version = ' (<i><span title="'.$agent['os_version'].'">'.substr($agent['os_version'], $osversion_offset, 15).'</span></i>)';
|
||||||
|
}
|
||||||
|
|
||||||
|
$row[] = ui_print_os_icon($agent['id_os'], true, true).$agent_os_version;
|
||||||
$table->data[] = $row;
|
$table->data[] = $row;
|
||||||
|
|
||||||
// URL
|
// URL
|
||||||
|
@ -331,7 +335,12 @@ switch ($opt) {
|
||||||
|
|
||||||
// Agent version
|
// Agent version
|
||||||
$row = [];
|
$row = [];
|
||||||
$row[] = __('Agent Version');
|
if (strtolower(get_os_name($agent['id_os'])) == 'satellite') {
|
||||||
|
$row[] = __('Satellite Version');
|
||||||
|
} else {
|
||||||
|
$row[] = __('Agent Version');
|
||||||
|
}
|
||||||
|
|
||||||
$row[] = $agent['agent_version'];
|
$row[] = $agent['agent_version'];
|
||||||
$table->data[] = $row;
|
$table->data[] = $row;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue