2013-11-04 Sergio Martin <sergio.martin@artica.es>

* operation/tree.php: Truncate the name of agents
	and modules in tree view to avoid ugly view for 
	incident #306



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-11-04 15:16:37 +00:00
parent ed7a78ffe1
commit 4b6fb312ad
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-11-04 Sergio Martin <sergio.martin@artica.es>
* operation/tree.php: Truncate the name of agents
and modules in tree view to avoid ugly view for
incident #306
2013-11-04 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_modules.php: Added

View File

@ -247,7 +247,7 @@ if (is_ajax ())
href='javascript: loadTable(\"agent_" . $type . "\"," . $row["id_agente"] . ", " . $less . ", \"" . $id . "\", \"" . $row['server_name'] . "\")'>";
echo " ";
echo $row["nombre"];
echo ui_print_truncate_text($row["nombre"], 40, true);
echo " (" . reporting_tiny_stats($row, true) . ")";
@ -451,7 +451,7 @@ if (is_ajax ())
}
echo "<a style='vertical-align: middle;' onfocus='JavaScript: this.blur()' href='javascript: loadModuleTable(" . $row["id_agente_modulo"] . ", \"" . $server_name . "\")'>";
echo io_safe_output($row['nombre']);
echo ui_print_truncate_text(io_safe_output($row['nombre']), 40, true);
echo "</a>";
if ($row['quiet']) {
echo "&nbsp;";