double start pick
This commit is contained in:
parent
4d894365eb
commit
9ce18fbd0a
|
@ -18,41 +18,52 @@
|
||||||
ng-class="{
|
ng-class="{
|
||||||
'item-hightlight': $ctrl.isDefaultAddress(address),
|
'item-hightlight': $ctrl.isDefaultAddress(address),
|
||||||
'item-disabled': !address.isActive && !$ctrl.isDefaultAddress(address)
|
'item-disabled': !address.isActive && !$ctrl.isDefaultAddress(address)
|
||||||
}">
|
}"
|
||||||
<vn-horizontal style="align-items: center;">
|
translate-attr="{title: 'Edit address'}"
|
||||||
<vn-none pad-medium-h>
|
border-radius>
|
||||||
<vn-icon-button
|
<vn-none
|
||||||
icon="star"
|
pad-small-right
|
||||||
ng-if="$ctrl.isDefaultAddress(address)">
|
ng-click="$ctrl.onStarClick($event)">
|
||||||
</vn-icon-button>
|
<vn-icon-button
|
||||||
<vn-icon-button
|
icon="star"
|
||||||
ng-if="!address.isActive"
|
ng-if="$ctrl.isDefaultAddress(address)">
|
||||||
icon="star_border"
|
</vn-icon-button>
|
||||||
vn-tooltip="Active first to set as default">
|
<vn-icon-button
|
||||||
</vn-icon-button>
|
ng-if="!address.isActive && !$ctrl.isDefaultAddress(address)"
|
||||||
<vn-icon-button
|
icon="star_border"
|
||||||
ng-if="address.isActive && !$ctrl.isDefaultAddress(address)"
|
vn-tooltip="Active first to set as default">
|
||||||
icon="star_border"
|
</vn-icon-button>
|
||||||
vn-tooltip="Set as default"
|
<vn-icon-button
|
||||||
ng-click="$ctrl.setDefault(address)">
|
ng-if="address.isActive && !$ctrl.isDefaultAddress(address)"
|
||||||
</vn-icon-button>
|
icon="star_border"
|
||||||
</vn-none>
|
vn-tooltip="Set as default"
|
||||||
<vn-one border-solid-right>
|
ng-click="$ctrl.setDefault(address)">
|
||||||
<vn-horizontal>
|
</vn-icon-button>
|
||||||
<vn-one>
|
</vn-none>
|
||||||
<div><b>{{::address.nickname}}</b></div>
|
<vn-one
|
||||||
<div name="street">{{::address.street}}</div>
|
style="overflow: hidden; min-width: 14em;">
|
||||||
<div>{{::address.city}}, {{::address.province}}</div>
|
<div class="ellipsize"><b>{{::address.nickname}}</b></div>
|
||||||
<div>{{::address.phone}}, {{::address.mobile}}</div>
|
<div class="ellipsize" name="street">{{::address.street}}</div>
|
||||||
</vn-one>
|
<div class="ellipsize">{{::address.city}}, {{::address.province.name}}</div>
|
||||||
<vn-one>
|
<div class="ellipsize">
|
||||||
<vn-check
|
{{::address.phone}}<span ng-if="::address.mobile">, </span>
|
||||||
vn-one label="Is equalizated"
|
{{::address.mobile}}
|
||||||
field="address.isEqualizated"
|
</div>
|
||||||
disabled="true">
|
<vn-check
|
||||||
</vn-check>
|
vn-one label="Is equalizated"
|
||||||
</vn-one>
|
field="address.isEqualizated"
|
||||||
</vn-horizontal>
|
disabled="true">
|
||||||
|
</vn-check>
|
||||||
|
</vn-one>
|
||||||
|
<vn-vertical
|
||||||
|
vn-one
|
||||||
|
ng-if="address.observations.length"
|
||||||
|
border-solid-left
|
||||||
|
pad-medium-h
|
||||||
|
style="height: 6em; overflow: auto;">
|
||||||
|
<vn-one ng-repeat="observation in address.observations track by $index" ng-class="{'pad-small-top': $index}">
|
||||||
|
<b>{{::observation.observationType.description}}:</b>
|
||||||
|
<span>{{::observation.description}}</span>
|
||||||
</vn-one>
|
</vn-one>
|
||||||
<vn-vertical vn-one pad-medium-h>
|
<vn-vertical vn-one pad-medium-h>
|
||||||
<vn-one ng-repeat="observation in address.observations track by $index" ng-class="{'pad-small-top': $index}">
|
<vn-one ng-repeat="observation in address.observations track by $index" ng-class="{'pad-small-top': $index}">
|
||||||
|
|
Loading…
Reference in New Issue