diff --git a/php/classes/AmdaAction.php b/php/classes/AmdaAction.php index 3a91748..7ff2210 100644 --- a/php/classes/AmdaAction.php +++ b/php/classes/AmdaAction.php @@ -247,11 +247,6 @@ class AmdaAction $info .= "<br/>Last Updated: : ".$child->getAttribute('lastUpdate'); } } - -// if ($child->getAttribute('restriction') > 1) { -// $restricted = $child->getAttribute('restriction'); -// $info .= "<br/><b>Time Restriction</b>: -$restricted days"; -// } } if ($child->hasAttribute('units')) { @@ -332,7 +327,8 @@ class AmdaAction if ($isParameter) { $objectMgr = new AliasMgr(); $alias = $objectMgr->getAlias($id); - $info .= '</br><i>ID : '.$id.'</i>'; + + if (! ($child->parentNode->hasAttribute('group') || $child->parentNode->parentNode->hasAttribute('group'))) $info .= '</br><i>ID : '.$id.'</i>'; $childrenToReturn[] = array('text' => $name,'alias' => $alias, 'id' => $id,'nodeType' => $nodeType, 'info' => $info, "component_info" => $component_info, 'globalStart' => $globalStart, 'globalStop' => $globalStop, 'timeRestriction' => $timeRestriction, -- libgit2 0.21.2