mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#11467 fixed error message and advanced info section from tree view
This commit is contained in:
parent
6b3b98ac04
commit
19c600fb9b
@ -621,7 +621,7 @@ if (check_login()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (empty($table->data)) {
|
if (empty($table->data)) {
|
||||||
ui_print_error_message(__('No available data to show'));
|
ui_print_empty_data(__('No available data to show'), '', false);
|
||||||
} else {
|
} else {
|
||||||
ui_pagination(
|
ui_pagination(
|
||||||
count($count),
|
count($count),
|
||||||
|
@ -892,11 +892,13 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||||||
$table_advanced->head = [];
|
$table_advanced->head = [];
|
||||||
$table_advanced->data = [];
|
$table_advanced->data = [];
|
||||||
|
|
||||||
// Agent version.
|
$row = [];
|
||||||
$row = [];
|
// Agent version.
|
||||||
|
if (!empty($agent['agent_version'])) {
|
||||||
$row['title'] = __('Agent Version');
|
$row['title'] = __('Agent Version');
|
||||||
$row['data'] = $agent['agent_version'];
|
$row['data'] = $agent['agent_version'];
|
||||||
$table_advanced->data['agent_version'] = $row;
|
$table_advanced->data['agent_version'] = $row;
|
||||||
|
}
|
||||||
|
|
||||||
// Position Information.
|
// Position Information.
|
||||||
if ($config['activate_gis']) {
|
if ($config['activate_gis']) {
|
||||||
@ -976,7 +978,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
true,
|
true,
|
||||||
false,
|
empty($table_advanced->data),
|
||||||
'',
|
'',
|
||||||
'white-box-content mrgn_top_0 mrgn_btn_0px border-bottom-gray',
|
'white-box-content mrgn_top_0 mrgn_btn_0px border-bottom-gray',
|
||||||
'white_table_flex'
|
'white_table_flex'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user