diff options
author | Xheni Myrtaj <myrtajxheni@gmail.com> | 2018-03-31 02:59:14 +0200 |
---|---|---|
committer | Xheni Myrtaj <myrtajxheni@gmail.com> | 2018-03-31 02:59:14 +0200 |
commit | ca838945b49bef9e1b32ba184d3330107d8da014 (patch) | |
tree | 5e6982593858b334d289cc6fbad4b71e270a40cd /templates | |
parent | a8420bd9d1cc4c488efc5efc79fa833b9f41e82f (diff) |
show info icon only if the info exists
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/propertyGroup.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/propertyGroup.html b/templates/propertyGroup.html index e25ba091..2cce1a4f 100644 --- a/templates/propertyGroup.html +++ b/templates/propertyGroup.html @@ -1,6 +1,7 @@ <h3 class="propertyGroup__title"> <i ng-class="ctrl.getIconClass()"></i> {{ctrl.getReadableName()}} + <i ng-class="ctrl.getInfoClass()" title="{{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> |