mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Ticket 10470 Agent improvements bis
This commit is contained in:
parent
c1f8510563
commit
b0ee4a203a
@ -211,7 +211,7 @@ $table_agent_graph .= '</div>';*/
|
|||||||
$table_status->data['agent_os'][0] = __('OS');
|
$table_status->data['agent_os'][0] = __('OS');
|
||||||
$agentOS = [];
|
$agentOS = [];
|
||||||
$agentOS[] = html_print_div([ 'content' => (empty($agent['os_version']) === true) ? get_os_name((int) $agent['id_os']) : $agent['os_version']], true);
|
$agentOS[] = html_print_div([ 'content' => (empty($agent['os_version']) === true) ? get_os_name((int) $agent['id_os']) : $agent['os_version']], true);
|
||||||
$agentOS[] = html_print_div([ 'style' => 'width: 32px', 'content' => ui_print_os_icon($agent['id_os'], false, true)], true);
|
$agentOS[] = html_print_div([ 'style' => 'width: 16px;padding-left: 5px', 'content' => ui_print_os_icon($agent['id_os'], false, true, true, false, false, false, ['width' => '16px'])], true);
|
||||||
$table_status->data['agent_os'][1] = html_print_div(['class' => 'agent_details_agent_data', 'content' => implode('', $agentOS)], true);
|
$table_status->data['agent_os'][1] = html_print_div(['class' => 'agent_details_agent_data', 'content' => implode('', $agentOS)], true);
|
||||||
|
|
||||||
// $table_agent_os .= (empty($agent['os_version']) === true) ? get_os_name((int) $agent['id_os']) : $agent['os_version'].'</p>';
|
// $table_agent_os .= (empty($agent['os_version']) === true) ? get_os_name((int) $agent['id_os']) : $agent['os_version'].'</p>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user