improve design on payment protocol view

This commit is contained in:
Gabriel Bazán 2016-12-27 16:16:55 -03:00
commit 9234a575ec
4 changed files with 58 additions and 52 deletions

View file

@ -37,6 +37,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$scope.toEmail = data.stateParams.toEmail;
$scope.description = data.stateParams.description;
$scope.paypro = data.stateParams.paypro;
console.log($scope.paypro);
$scope.insufficientFunds = false;
$scope.noMatchingWallet = false;
$scope.paymentExpired = {
@ -433,6 +434,10 @@ angular.module('copayApp.controllers').controller('confirmController', function(
});
};
$scope.cancel = function() {
$scope.payproModal.hide();
};
$scope.approve = function(onSendStatusChange) {
var wallet = $scope.wallet;

View file

@ -1,9 +0,0 @@
'use strict';
angular.module('copayApp.controllers').controller('payproController', function($scope) {
var self = $scope.self;
$scope.cancel = function() {
$scope.payproModal.hide();
};
});

View file

@ -86,6 +86,11 @@
flex-grow: 1;
}
}
&.double-line {
.item-note {
width: 100%;
}
}
}
.item-divider {
padding-top: 1.2rem;