minor refactors and slint error fixes

This commit is contained in:
Carlos Jimenez 2018-04-26 16:42:18 +02:00
parent 57123f4887
commit 21080b740f
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,4 @@
import ngModule from '../../module';
import Component from '../../lib/component';
import './style.scss';
ngModule.component('vnLabelValue', {

View File

@ -3,7 +3,8 @@
<div class="vn-list">
<vn-card>
<vn-horizontal>
<vn-searchbar vn-one
<vn-searchbar
vn-one
index="index"
on-search="$ctrl.search(index)"
advanced="true"

View File

@ -1,5 +1,5 @@
<a
ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })"
ui-sref="item.card.summary({id: $ctrl.item.id})"
translate-attr="{title: 'View item'}"
class="vn-list-item">
<vn-horizontal ng-click="$ctrl.onClick($event)">

View File

@ -5,8 +5,8 @@
<vn-vertical>
<vn-one>
<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/>
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-one>
<vn-one>
<h5 text-center pad-small-v class="title">{{$ctrl.item.id}}</h5>