-<div ng-controller="containerCtrl" class="customContainer {{ node.expanded ? '' : 'withoutBorder' }}">\r
+<div ng-controller="ContainerCtrl" class="customContainer {{ node.expanded ? '' : 'withoutBorder' }}">\r
<div class="topContainerPart">\r
- <span class="treeBullet containerBullet" ng-show="node !== selSubApi.node">•</span>\r
+ <span class="treeBullet containerBullet" ng-if="node !== selSubApi.node">•</span>\r
<button class="yangButton {{ node.expanded ? 'iconArrowDown' : 'iconArrowRight' }} inlineBlock" tooltip="{{ 'SHOW_HIDE_CON' | translate }}" ng-click='toggleExpanded()'></button>\r
<button class="btn-name btn-slim">\r
{{getNodeName(node.localeLabel, node.label)}}\r
</button>\r
<button ng-if="node.getChildren('description', null, null, 'label').length > 0" class="yangButton iconQuestion inlineBlock" tooltip="{{node.getChildren('description', null, null, 'label')[0]}}" ></button>\r
+\r
+ <!-- Augmentation control -->\r
+ <div class="modalWrapper" ng-if="node.augmentionGroups.length" ng-include src="currentPath + 'modal/augmentation-modal.tpl.html'"></div>\r
+ <span ng-if="node.augmentationId" class="augmentIcon reversed" tooltip="{{ 'YANGUI_IS_AUGMENT' | translate }} {{ node.augmentationId }}">A</span>\r
+ <!-- Augmentation control end -->\r
</div>\r
\r
- <div ng-show="node.expanded">\r
- <div ng-repeat="node in node.getChildren(null,null,constants.NODE_UI_DISPLAY)" ng-include="currentPath+'/'+node.type+'.tpl.html'">\r
+ <div ng-if="node.expanded">\r
+ <div ng-repeat="node in node.getChildren(null,null,constants.NODE_UI_DISPLAY) | onlyConfigStmts" ng-include="currentPath+'/'+node.type+'.tpl.html'" ng-hide="node.augmentationId && !augmentations.getAugmentation(node.parent, node.augmentationId).expanded">\r
</div>\r
- \r
+\r
<i class="icon-caret-down borderArrow" ng-show="node.expanded"></i>\r
-</div>
\ No newline at end of file
+</div>\r