Change to alias in treeview

This commit is contained in:
Daniel Maya 2017-02-27 15:06:24 +01:00
parent 938dc40f77
commit 742f487d72
2 changed files with 7 additions and 3 deletions

View File

@ -523,8 +523,13 @@ function treeview_printTable($id_agente, $server_data = array(), $no_head = fals
$cellName = '';
}
$cellName .= '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$agent["id_agente"].'">' .
'<b><span style="font-weight:bold;text-transform:uppercase;" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span></b></a>';
if (is_metaconsole()) {
$cellName .= '<a href="'.$server_data[server_url].'index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$agent["id_agente"].'">' .
'<b><span style="font-weight:bold;text-transform:uppercase;" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span></b></a>';
} else {
$cellName .= '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$agent["id_agente"].'">' .
'<b><span style="font-weight:bold;text-transform:uppercase;" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span></b></a>';
}
if ($agent['disabled']) {
$cellName .= ui_print_help_tip(__('Disabled'), true) . "</em>";

View File

@ -108,7 +108,6 @@
var headBody = $('<div></div>');
headBody
.addClass('fixed-bottom-box-head-body')
.append(head)
.click(function(event) {
self.toggle();
});