Merge branch '1014-Aparece-el-agent-name-en-lugar-del-alias-en-la-consola-SNMP-dev' into 'develop'

Changed agent name by alias

See merge request !590
This commit is contained in:
vgilc 2017-07-13 12:11:18 +02:00
commit c2c677de65
1 changed files with 2 additions and 2 deletions

View File

@ -786,7 +786,7 @@ if ($traps !== false) {
continue;
}
$data[1] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$agent["id_agente"].'" title="'.__('View agent details').'">';
$data[1] .= '<strong>'.($agent["alias"] ? $agent["alias"] : $agent["nombre"]).ui_print_help_tip($trap['source'], true, "images/tip-blanco.png");'</strong></a>';
$data[1] .= '<strong>'.$agent["alias"].ui_print_help_tip($trap['source'], true, "images/tip-blanco.png");'</strong></a>';
}
//OID
@ -1168,4 +1168,4 @@ ui_include_time_picker();
}
}
</script>
</script>