fix wording

This commit is contained in:
Javier 2016-02-16 14:18:48 -03:00
commit 867c842da3
2 changed files with 5 additions and 4 deletions

View file

@ -394,11 +394,11 @@
<i class="icon-close-circle size-14"></i>
<span class="vm" translate>Not valid</span>
</span>
<span class="has-error right size-12" ng-show="home.destinationAddressNeedsBackup">
<span class="has-error right size-12" ng-show="home.destinationWalletNeedsBackup">
<i class="icon-close-circle size-14"></i>
<span class="vm" translate>Destination address needs backup</span>
<span class="vm" translate>Destination wallet needs backup</span>
</span>
<small class="right text-primary" ng-show="!sendForm.address.$invalid && !home.destinationAddressNeedsBackup">
<small class="right text-primary" ng-show="!sendForm.address.$invalid && !home.destinationWalletNeedsBackup">
<i class="icon-checkmark-circle size-14"></i>
</small>
</span>
@ -482,7 +482,7 @@
<a fast-click callback-fn="home.resetForm(sendForm)" class="button expand outline dark-gray round" translate>Cancel</a>
</div>
<div class="columns" ng-class="{'small-6 medium-6 large-6':(home._paypro || home.lockAddress || home.lockAmount)}">
<button type="submit" class="button black round expand" ng-disabled="sendForm.$invalid || home.blockUx || index.isOffline || home.destinationAddressNeedsBackup"
<button type="submit" class="button black round expand" ng-disabled="sendForm.$invalid || home.blockUx || index.isOffline || home.destinationWalletNeedsBackup"
ng-style="{'background-color':index.backgroundColor}" translate>
Send
</button>

View file

@ -120,6 +120,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
var confirm_msg = gettextCatalog.getString('Confirm');
this.openDestinationAddressModal = function(wallets, address) {
self.destinationWalletNeedsBackup = null;
$rootScope.modalOpened = true;
var fc = profileService.focusedClient;
self.lockAddress = false;