get values from model item

This commit is contained in:
jorgebl 2021-02-26 11:36:22 +01:00
parent 0c4c2b0df4
commit f63baafe7d
2 changed files with 23 additions and 3 deletions

View File

@ -48,9 +48,24 @@
</span> </span>
</vn-label-value> </vn-label-value>
<vn-label-value <vn-label-value
ng-repeat="tag in $ctrl.item.tags | limitTo:4" label="{{$ctrl.item.tag5}}"
label="{{tag.tag.name}}" ng-class="{emptyTag: !$ctrl.item.value5}"
value="{{tag.value}}"> value="{{$ctrl.item.value5}}">
</vn-label-value>
<vn-label-value
label="{{$ctrl.item.tag6}}"
ng-class="{emptyTag: !$ctrl.item.value6}"
value="{{$ctrl.item.value6}}">
</vn-label-value>
<vn-label-value
label="{{$ctrl.item.tag7}}"
ng-class="{emptyTag: !$ctrl.item.value7}"
value="{{$ctrl.item.value7}}">
</vn-label-value>
<vn-label-value
label="{{$ctrl.item.tag8}}"
ng-class="{emptyTag: !$ctrl.item.value8}"
value="{{$ctrl.item.value8}}">
</vn-label-value> </vn-label-value>
</div> </div>
<div class="icons"> <div class="icons">

View File

@ -7,3 +7,8 @@ vn-item-descriptor {
display: block; display: block;
} }
} }
.emptyTag {
display: none;
}