Merge pull request #111 from cmgustavo/ref/design-29

Amazon: not allow to buy gift card for amounts with more than 2 decim…
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-14 16:36:37 -03:00 committed by GitHub
commit cd6d0a5d1d
5 changed files with 17 additions and 13 deletions

View file

@ -33,7 +33,7 @@
<form class="m20t"
name="buyAmazonForm"
ng-submit="buy.createTx()"
ng-submit="buy.confirm()"
novalidate>
<div class="card list">
@ -46,17 +46,17 @@
min="0.01"
max="500"
ng-model="fiat"
ng-pattern="/^[0-9]+(\.[0-9]{1,2})?$/"
autocomplete="off" ignore-mouse-wheel required>
<a class="postfix">USD</a>
</label>
<wallets ng-if="wallets[0]" wallets="wallets"></wallets>
</div>
<wallets ng-if="wallets[0]" wallets="wallets"></wallets>
<button class="button button-block button-positive"
ng-disabled="!fiat"
type="submit"
value="Buy now">
type="submit">
Buy now
</button>
<div class="size-10 text-gray text-center">

View file

@ -4,8 +4,8 @@
<div class="card">
<div class="item item-icon-left text-right">
<i class="icon ion-briefcase size-21" ng-style="{'color':wallet.color}"></i>
<span>{{wallet.name || wallet.id}}</span>
<span class="item-note" ng-show="wallet.n > 1 && wallet.isComplete()">
<span>{{wallet.name || wallet.id}}</span>
<span class="item-note m10l" ng-show="wallet.n > 1 && wallet.isComplete()">
{{wallet.m}}-of-{{wallet.n}}
</span>
<span class="badge badge-assertive" ng-show="!wallet.isComplete()" translate>