From 2a32a308bd958c1e1b695eed474c943dc11c8d3b Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Wed, 11 Feb 2015 10:47:54 -0300 Subject: [PATCH] Update status when transaction signed/rejected/broadcasted --- js/controllers/homeWallet.js | 1 + views/modals/txp-details.html | 32 ++++++++++++++++++++++++-------- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/js/controllers/homeWallet.js b/js/controllers/homeWallet.js index a4efbe719..9f7bb5e72 100644 --- a/js/controllers/homeWallet.js +++ b/js/controllers/homeWallet.js @@ -6,6 +6,7 @@ angular.module('copayApp.controllers').controller('HomeWalletController', functi var ModalInstanceCtrl = function($scope, $modalInstance) { var w = $rootScope.wallet; $scope.tx = tx; + $scope.registeredCopayerIds = w.getRegisteredCopayerIds(); $scope.loading = null; $scope.sign = function(ntxid) { diff --git a/views/modals/txp-details.html b/views/modals/txp-details.html index e9c2013cc..f41396c64 100644 --- a/views/modals/txp-details.html +++ b/views/modals/txp-details.html @@ -57,16 +57,19 @@
Signatures:
@@ -83,7 +86,8 @@
+ ng-show="!tx.signedBy[$root.wallet.getMyCopayerId()] && !tx.rejectedBy[$root.wallet.getMyCopayerId()] && + $root.wallet.txProposals.txps[tx.ntxid].builder.build().countInputMissingSignatures(0) != 0">
-
+
+
+ Transaction sent! +
+
+ Transaction finally rejected +