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

@ -27,6 +27,14 @@ angular.module('copayApp.controllers').controller('buyAmazonController',
});
};
this.confirm = function() {
var title = gettextCatalog.getString('Confirm Amazon.com Gift Card purchase for ${{amount}} USD', {amount: $scope.fiat});
var ok = gettextCatalog.getString('Buy');
popupService.showConfirm(title, null, ok, null, function(res) {
if (res) self.createTx();
});
};
this.createTx = function() {
self.errorInfo = null;

View file

@ -889,7 +889,7 @@ input[type=file] {
}
.wallets {
height: 90px;
height: 110px;
}
.bar .button.back-button {

View file

@ -21,13 +21,9 @@
&.swiper-slide-next{
left:4%;
}
span{
float:right;
clear:both;
}
}
}
.swiper-pagination{
visibility: hidden;
}
}
}