Merge pull request '2786-get_tags_from_item' (#559) from 2786-get_tags_from_item into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #559
Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
Joan Sanchez 2021-03-01 12:17:00 +00:00
commit 97b06a48f6
2 changed files with 19 additions and 4 deletions

View File

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

View File

@ -6,4 +6,4 @@ vn-item-descriptor {
width: 100%;
display: block;
}
}
}