Now in group view, groups and tags differ and the tags have an characteristic image. Ticket#2517
This commit is contained in:
parent
fd7fc4eb00
commit
a7ed92c919
|
@ -124,7 +124,7 @@ if (!empty($result_groups)) {
|
|||
|
||||
echo "<tr>";
|
||||
echo "<th style='width: 26px;'>" . __("Force") . "</th>";
|
||||
echo "<th width='30%' style='min-width: 60px;'>" . __("Group") . "</th>";
|
||||
echo "<th width='30%' style='min-width: 60px;'>" . __("Group") . "/" . __("Tags") . "</th>";
|
||||
echo "<th width='10%' style='min-width: 60px;text-align:center;'>" . __("Total") . "</th>";
|
||||
echo "<th width='10%' style='min-width: 60px;text-align:center;'>" . __("Unknown") . "</th>";
|
||||
echo "<th width='10%' style='min-width: 60px;text-align:center;'>" . __("Not init") . "</th>";
|
||||
|
@ -182,11 +182,11 @@ if (!empty($result_groups)) {
|
|||
}
|
||||
}
|
||||
|
||||
// Groupname
|
||||
// Groupname and Tags
|
||||
echo "<td>";
|
||||
if (isset($data['_is_tag_'])) {
|
||||
$deep = "";
|
||||
$link = "";
|
||||
$link = "<a href='index.php?sec=estado&sec2=operation/agentes/estado_agente&group_id=".$data['_id_']."'>";
|
||||
} else {
|
||||
$deep = groups_get_group_deep ($data['_id_']);
|
||||
$link = "<a href='index.php?sec=estado&sec2=operation/agentes/estado_agente&group_id=".$data['_id_']."'>";
|
||||
|
@ -203,6 +203,10 @@ if (!empty($result_groups)) {
|
|||
else
|
||||
echo $link . $group_name . "</a>";
|
||||
|
||||
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>' ;
|
||||
}
|
||||
|
||||
echo "</td>";
|
||||
|
||||
// Total agents
|
||||
|
|
Loading…
Reference in New Issue