2018-03-01 20:18:43 +00:00
|
|
|
<a
|
2018-04-26 14:42:18 +00:00
|
|
|
ui-sref="item.card.summary({id: $ctrl.item.id})"
|
2018-03-01 20:18:43 +00:00
|
|
|
translate-attr="{title: 'View item'}"
|
2018-03-01 20:54:18 +00:00
|
|
|
class="vn-list-item">
|
2018-03-01 20:18:43 +00:00
|
|
|
<vn-horizontal ng-click="$ctrl.onClick($event)">
|
|
|
|
<vn-auto class="image" margin-medium-right>
|
|
|
|
<img
|
|
|
|
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/>
|
|
|
|
</vn-auto>
|
2018-02-22 07:18:57 +00:00
|
|
|
<vn-one>
|
2018-03-01 20:18:43 +00:00
|
|
|
<h6 translate>{{::$ctrl.item.name}}</h6>
|
2018-04-17 10:19:40 +00:00
|
|
|
<vn-label-value label="Id"
|
|
|
|
value="{{::$ctrl.item.id}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Description"
|
|
|
|
value="{{::$ctrl.item.description}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Size"
|
|
|
|
value="{{::$ctrl.item.size}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Type"
|
|
|
|
value="{{::$ctrl.item.itemType.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Buyer"
|
|
|
|
value="{{::$ctrl.item.itemType.worker.firstName}} {{::$ctrl.item.itemType.worker.name}}">
|
|
|
|
</vn-label-value>
|
2018-02-22 07:18:57 +00:00
|
|
|
</vn-one>
|
2018-04-13 06:59:23 +00:00
|
|
|
<vn-horizontal class="buttons">
|
2018-03-01 20:18:43 +00:00
|
|
|
<vn-icon
|
|
|
|
ng-click="$ctrl.clone($event)"
|
|
|
|
vn-tooltip="Clone"
|
2018-03-13 13:07:42 +00:00
|
|
|
icon="icon-clone">
|
2018-03-01 20:18:43 +00:00
|
|
|
</vn-icon>
|
|
|
|
<vn-icon
|
|
|
|
ng-click="$ctrl.preview($event)"
|
|
|
|
vn-tooltip="Preview"
|
2018-03-13 13:07:42 +00:00
|
|
|
icon="desktop_windows">
|
2018-03-01 20:18:43 +00:00
|
|
|
</vn-icon>
|
|
|
|
</vn-horizontal>
|
2018-02-22 07:18:57 +00:00
|
|
|
</vn-horizontal>
|
2018-03-01 20:18:43 +00:00
|
|
|
</a>
|
2017-12-20 13:36:12 +00:00
|
|
|
|