From c287a2064a6e9b8528f2d8e23299714978a00fd4 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 18 Mar 2015 13:11:30 +0100 Subject: [PATCH] Changed style to visualice data in 'Group view' tiquet: #1879 --- pandora_console/include/functions_groups.php | 2 +- pandora_console/operation/agentes/group_view.php | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_groups.php b/pandora_console/include/functions_groups.php index d63cee8242..7c34c33ed0 100644 --- a/pandora_console/include/functions_groups.php +++ b/pandora_console/include/functions_groups.php @@ -2759,7 +2759,7 @@ function groups_get_group_deep ($id_group) { $deep = ""; } else { - $deep = str_repeat("    ", count($parents)); + $deep = str_repeat("  ", count($parents)); } return $deep; diff --git a/pandora_console/operation/agentes/group_view.php b/pandora_console/operation/agentes/group_view.php index ab0ef37712..5a07676711 100644 --- a/pandora_console/operation/agentes/group_view.php +++ b/pandora_console/operation/agentes/group_view.php @@ -156,8 +156,11 @@ if (!empty($result_groups)) { if (isset($data['_iconImg_']) && !empty($data['_iconImg_'])) $item_icon = $data['_iconImg_']; - echo $link . $deep . $item_icon ." " . $group_name . ""; - + if ($data['_name_'] != "All") + echo $deep . $link . $group_name . ""; + else + echo $link . $group_name . ""; + echo ""; // Total agents