mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
Change to alias in treeview
This commit is contained in:
parent
938dc40f77
commit
742f487d72
@ -523,8 +523,13 @@ function treeview_printTable($id_agente, $server_data = array(), $no_head = fals
|
|||||||
$cellName = '';
|
$cellName = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_metaconsole()) {
|
||||||
|
$cellName .= '<a href="'.$server_data[server_url].'index.php?sec=estado&sec2=operation/agentes/ver_agente&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&sec2=operation/agentes/ver_agente&id_agente='.$agent["id_agente"].'">' .
|
$cellName .= '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$agent["id_agente"].'">' .
|
||||||
'<b><span style="font-weight:bold;text-transform:uppercase;" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span></b></a>';
|
'<b><span style="font-weight:bold;text-transform:uppercase;" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span></b></a>';
|
||||||
|
}
|
||||||
|
|
||||||
if ($agent['disabled']) {
|
if ($agent['disabled']) {
|
||||||
$cellName .= ui_print_help_tip(__('Disabled'), true) . "</em>";
|
$cellName .= ui_print_help_tip(__('Disabled'), true) . "</em>";
|
||||||
|
@ -108,7 +108,6 @@
|
|||||||
var headBody = $('<div></div>');
|
var headBody = $('<div></div>');
|
||||||
headBody
|
headBody
|
||||||
.addClass('fixed-bottom-box-head-body')
|
.addClass('fixed-bottom-box-head-body')
|
||||||
.append(head)
|
|
||||||
.click(function(event) {
|
.click(function(event) {
|
||||||
self.toggle();
|
self.toggle();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user