commit
c728f2958f
4 changed files with 12 additions and 19 deletions
|
|
@ -19,8 +19,8 @@
|
||||||
</li>
|
</li>
|
||||||
<li class="line-b p10">
|
<li class="line-b p10">
|
||||||
<span class="text-gray">Amount:</span>
|
<span class="text-gray">Amount:</span>
|
||||||
<span class="right">{{tx.amountStr}}
|
<span class="right">{{amountStr}}
|
||||||
<span class="label gray radius">{{tx.alternativeAmountStr}}</span>
|
<span class="label gray radius">{{alternativeAmountStr}}</span>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="line-b p10">
|
<li class="line-b p10">
|
||||||
|
|
@ -122,21 +122,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-show="!hideTxInfo">
|
<div class="text-center" ng-show="tx.status != 'pending'">
|
||||||
<div class="row collapse m10t"
|
<div class="text-success m10t"
|
||||||
ng-show="tx.status=='accepted' && !txBroadcasted && !txRejected">
|
ng-show="tx.status=='accepted'" translate>
|
||||||
<button class="primary expand"
|
Transaction sent!
|
||||||
ng-click="broadcast(tx)"
|
|
||||||
ng-disabled="loading"> <i class="fi-upload-cloud"></i>
|
|
||||||
<span translate>Broadcast Transaction</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="text-success m10t oh"
|
|
||||||
ng-show="txBroadcasted">
|
|
||||||
<span translate>Transaction sent!</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center text-warning"
|
<div class="text-center text-warning"
|
||||||
ng-show="txRejected" translate>
|
ng-show="tx.status=='rejected'" translate>
|
||||||
Transaction finally rejected
|
Transaction finally rejected
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
var ModalInstanceCtrl = function($scope, $modalInstance) {
|
var ModalInstanceCtrl = function($scope, $modalInstance) {
|
||||||
$scope.error = null;
|
$scope.error = null;
|
||||||
$scope.tx = tx;
|
$scope.tx = tx;
|
||||||
|
$scope.amountStr = tx.amountStr;
|
||||||
|
$scope.alternativeAmountStr = tx.alternativeAmountStr;
|
||||||
$scope.copayers = copayers
|
$scope.copayers = copayers
|
||||||
$scope.loading = null;
|
$scope.loading = null;
|
||||||
$scope.color = fc.backgroundColor;
|
$scope.color = fc.backgroundColor;
|
||||||
|
|
@ -193,7 +195,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.cancel = function() {
|
$scope.cancel = function() {
|
||||||
$modalInstance.dismiss('cancel');
|
$modalInstance.close();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ angular.module('copayApp.directives')
|
||||||
link: function(scope, elem, attrs, ctrl) {
|
link: function(scope, elem, attrs, ctrl) {
|
||||||
var validator = function(value) {
|
var validator = function(value) {
|
||||||
if (value.length > 0) {
|
if (value.length > 0) {
|
||||||
var m = value.match(/^[1-9A-HJ-NP-Za-km-z]{70,80}$/);
|
var m = value.match(/^[0-9A-HJ-NP-Za-km-z]{70,80}$/);
|
||||||
ctrl.$setValidity('walletSecret', m ? true : false);
|
ctrl.$setValidity('walletSecret', m ? true : false);
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,7 @@ angular.module('copayApp.services').factory('configService', function(localStora
|
||||||
|
|
||||||
// Bitcore wallet service URL
|
// Bitcore wallet service URL
|
||||||
bws: {
|
bws: {
|
||||||
url: 'http://162.242.245.33:3232/bws/api',
|
url: 'https://copay.io:3232/bws/api',
|
||||||
// url: 'http://localhost:3001/bws/api',
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// insight
|
// insight
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue