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

34 lines
1.3 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'}"
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>
<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"
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