Merge branch 'ent-7684-mostrar-campo-con-el-nombre-de-nodo-que-viene-en-metaconsola-en-la-vista-de-detalle-del-evento' into 'develop'
add node name on event details See merge request artica/pandorafms!4274
This commit is contained in:
commit
d701e50b9f
|
@ -4880,6 +4880,14 @@ function events_page_general($event)
|
|||
$data[1] = '<span class="break_word">'.events_display_name($event['evento']).'</span>';
|
||||
$table_general->data[] = $data;
|
||||
|
||||
// Show server name in metaconsole.
|
||||
if (is_metaconsole() === true && $event['server_name'] !== '') {
|
||||
$data = [];
|
||||
$data[0] = __('Node');
|
||||
$data[1] = '<span class="break_word">'.$event['server_name'].'</span>';
|
||||
$table_general->data[] = $data;
|
||||
}
|
||||
|
||||
$data = [];
|
||||
$data[0] = __('Timestamp');
|
||||
|
||||
|
|
Loading…
Reference in New Issue