Merge branch 'ent-4226-mejoras-plugin-sap' into 'develop'

Ent 4226 mejoras plugin sap

See merge request artica/pandorafms!2853
This commit is contained in:
Daniel Rodriguez 2019-11-26 14:14:10 +01:00
commit 66c67ea74a
2 changed files with 25 additions and 19 deletions

View File

@ -1532,7 +1532,8 @@ switch ($tab) {
break;
}
ui_print_page_header(
if (!$config['pure']) {
ui_print_page_header(
agents_get_alias($id_agente),
$icon,
false,
@ -1550,7 +1551,9 @@ ui_print_page_header(
'<span class="breadcrumb_active">'.$tab_name.'</span>',
]
)
);
);
}
switch ($tab) {

View File

@ -469,6 +469,9 @@ $autorefresh_list_out['operation/agentes/pandora_networkmap'] = 'Network map';
$autorefresh_list_out['operation/visual_console/render_view'] = 'Visual console';
$autorefresh_list_out['operation/events/events'] = 'Events';
$autorefresh_list_out['enterprise/godmode/reporting/cluster_view'] = 'Cluster view';
if (enterprise_installed()) {
$autorefresh_list_out['general/sap_view'] = 'SAP view';
}
if (!isset($autorefresh_list)) {
$select = db_process_sql("SELECT autorefresh_white_list FROM tusuario WHERE id_user = '".$config['id_user']."'");