2018-03-01 15:52:35 +00:00
|
|
|
<vn-card margin-medium-v class="vn-descriptor">
|
|
|
|
<vn-horizontal class="header">
|
|
|
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="item.index">
|
|
|
|
<vn-icon icon="chevron_left"></vn-icon>
|
|
|
|
</a>
|
|
|
|
<vn-icon icon="inbox"></vn-icon>
|
|
|
|
<a translate-attr="{title: 'Preview'}" ui-sref="item.card.summary">
|
|
|
|
<vn-icon icon="computer"></vn-icon>
|
|
|
|
</a>
|
|
|
|
</vn-horizontal>
|
2018-01-25 13:14:58 +00:00
|
|
|
<vn-vertical>
|
2018-02-14 09:06:51 +00:00
|
|
|
<vn-auto style="position: relative" pad-medium text-center>
|
2018-02-13 12:15:03 +00:00
|
|
|
<img
|
2018-02-14 09:06:51 +00:00
|
|
|
ng-src="http://verdnatura.es/vn-image-data/catalog/200x200/{{::$ctrl.item.image}}"
|
|
|
|
zoom-image="http://verdnatura.es/vn-image-data/catalog/900x900/{{::$ctrl.item.image}}" on-error-src/>
|
2018-03-01 15:52:35 +00:00
|
|
|
<a href="https://www.verdnatura.es/#!form=admin/items&filter={{::$ctrl.item.id}}" target="_blank"><vn-float-button icon="edit"
|
|
|
|
style="position: absolute; bottom: 1em; right: 1em;"
|
|
|
|
vn-visible-by="administrative"></vn-float-button>
|
|
|
|
</a>
|
2018-01-25 13:14:58 +00:00
|
|
|
</vn-auto>
|
2018-01-25 13:49:21 +00:00
|
|
|
<vn-auto pad-medium>
|
2018-03-01 15:52:35 +00:00
|
|
|
<h6>{{$ctrl.item.name}}</h6>
|
|
|
|
<div><vn-label translate>Id</vn-label> {{$ctrl.item.id}}</div>
|
|
|
|
<div ng-repeat="itemTag in $ctrl.item.itemTag | limitTo:4">
|
|
|
|
<div><vn-label translate>{{itemTag.tag.name}}</vn-label> {{itemTag.value}}</div>
|
|
|
|
</div>
|
2018-01-25 13:14:58 +00:00
|
|
|
</vn-auto>
|
2018-01-25 13:49:21 +00:00
|
|
|
</vn-vertical>
|
2018-02-01 09:05:20 +00:00
|
|
|
</vn-card>
|