mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-6226-links-eventos-servicios-metaconsola' into 'develop'
Solve issue Closes pandora_enterprise#6226 See merge request artica/pandorafms!3612
This commit is contained in:
commit
d926251cf1
@ -4166,7 +4166,15 @@ function events_page_details($event, $server='')
|
|||||||
if (!empty($agent)) {
|
if (!empty($agent)) {
|
||||||
$data = [];
|
$data = [];
|
||||||
$data[0] = '<div style="font-weight:normal; margin-left: 20px;">'.__('Name').'</div>';
|
$data[0] = '<div style="font-weight:normal; margin-left: 20px;">'.__('Name').'</div>';
|
||||||
if (can_user_access_node()) {
|
if (can_user_access_node() && is_metaconsole() && empty($event['server_id']) === true) {
|
||||||
|
$data[1] = ui_print_truncate_text(
|
||||||
|
$agent['alias'],
|
||||||
|
'agent_medium',
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
true
|
||||||
|
).ui_print_help_tip(__('This agent belongs to metaconsole, is not possible display it'), true);
|
||||||
|
} else if (can_user_access_node()) {
|
||||||
$data[1] = ui_print_agent_name(
|
$data[1] = ui_print_agent_name(
|
||||||
$event['id_agente'],
|
$event['id_agente'],
|
||||||
true,
|
true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user