salix/client/item/src/list/item-product.html

36 lines
1.4 KiB
HTML
Raw Normal View History

2018-03-01 20:18:43 +00:00
<a
ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })"
translate-attr="{title: 'View item'}"
class="vn-list-item"
pad-medium
border-solid-bottom>
<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>
<div><vn-label translate>Id</vn-label> {{::$ctrl.item.id}}</div>
<div><vn-label translate>Description</vn-label> {{::$ctrl.item.description}}</div>
<div><vn-label translate>Size</vn-label> {{::$ctrl.item.size}}</div>
<div><vn-label translate>Type</vn-label> {{::$ctrl.item.itemType.name}}</div>
2018-02-22 07:18:57 +00:00
</vn-one>
2018-03-01 20:18:43 +00:00
<vn-horizontal class="buttons"s>
<vn-icon
ng-click="$ctrl.clone($event)"
vn-tooltip="Clone"
icon="icon-clone2">
</vn-icon>
<vn-icon
ng-click="$ctrl.preview($event)"
vn-tooltip="Preview"
icon="icon-preview">
</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