diff options
author | Xheni Myrtaj <myrtajxheni@gmail.com> | 2018-04-11 11:50:21 +0200 |
---|---|---|
committer | Xheni Myrtaj <myrtajxheni@gmail.com> | 2018-04-11 11:50:21 +0200 |
commit | 6448ed934b7fa101ca002634f1695f96cd3d99b6 (patch) | |
tree | 184175af3d131941b79731ec621ca84707a5a145 /templates | |
parent | 67e3117aa410d5961e7c8c88e51c0aa9a88513b5 (diff) |
use ng-if
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/propertyGroup.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/propertyGroup.html b/templates/propertyGroup.html index ec8beabd..dd45df4e 100644 --- a/templates/propertyGroup.html +++ b/templates/propertyGroup.html @@ -1,7 +1,7 @@ <h3 class="propertyGroup__title"> <i ng-class="ctrl.getIconClass()"></i> {{ctrl.getReadableName()}} - <i ng-class="ctrl.getInfoClass()" id="info" tooltip-append-to-body="true" tooltip-placement="right" uib-tooltip="{{ctrl.getInfoText()}}"></i> + <i ng-if="ctrl.meta.info.length" ng-class="ctrl.getInfoClass()" id="info" tooltip-append-to-body="true" tooltip-placement="right" uib-tooltip="{{ctrl.getInfoText()}}"></i> </h3> <detailsItem ng-repeat="property in ctrl.properties" name="ctrl.name" data="property" model="ctrl.contact" index="$index" class="details-item-{{ctrl.name}}" ng-class="{ 'failed': ctrl.contact.failedProps.indexOf(ctrl.name) !== -1 }"></detailsItem> |