From b2238baffaa953f0e4326375e5882ee8d8a47a2e Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 31 Dec 2014 01:37:47 -0300 Subject: [PATCH] wording on 1-N wallets at send --- js/controllers/send.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/controllers/send.js b/js/controllers/send.js index 371123545..428e38536 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -14,7 +14,8 @@ angular.module('copayApp.controllers').controller('SendController', preconditions.checkState(w.settings.unitToSatoshi); $scope.isShared = w.isShared(); - $rootScope.title =$scope.isShared ? 'Send Proposal' : 'Send'; + $scope.requiresMultipleSignatures = w.requiresMultipleSignatures(); + $rootScope.title =$scope.requiresMultipleSignatures ? 'Send Proposal' : 'Send'; $scope.loading = false; $scope.error = $scope.success = null; @@ -127,7 +128,7 @@ angular.module('copayApp.controllers').controller('SendController', if (msg.match('expired')) msg = 'The payment request has expired'; - var message = 'The transaction' + ($scope.isShared ? ' proposal' : '') + + var message = 'The transaction' + ($scope.requiresMultipleSignatures ? ' proposal' : '') + ' could not be created: ' + msg; $scope.error = message;