get values from model item
This commit is contained in:
parent
0c4c2b0df4
commit
f63baafe7d
|
@ -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">
|
||||||
|
|
|
@ -7,3 +7,8 @@ vn-item-descriptor {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emptyTag {
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue