[Secondary groups] Added hint to node group view

This commit is contained in:
fermin831 2018-04-09 20:18:37 +02:00
parent 4e1f57a43a
commit 678aa02ed7
1 changed files with 10 additions and 4 deletions

View File

@ -258,10 +258,16 @@ if (!empty($result_groups)) {
if (isset($data['_iconImg_']) && !empty($data['_iconImg_']))
$item_icon = $data['_iconImg_'];
if ($data['_name_'] != "All")
if ($data['_name_'] != "All") {
echo $deep . $link . $group_name . "</a>";
else
echo $link . $group_name . "</a>";
}
else {
$hint = '';
if (enterprise_hook('agents_is_using_secondary_groups')) {
$hint = ui_print_help_tip(__("This Pandora installation are using the secondary groups feature. For this reason, an agent can be counted several times."));
}
echo $link . $group_name . "</a>" . $hint;
}
if (isset($data['_is_tag_'])){
echo '<a>' . html_print_image("images/tag.png", true, array("border" => '0', "style" => 'width:18px;margin-left:5px', "title" => __('Tag'))) . '</a>' ;