mirror of https://github.com/BTCPrivate/copay.git
Fixed
This commit is contained in:
parent
c9ccc4f085
commit
84dbcb038a
|
@ -5,6 +5,12 @@ angular.module('copayApp.controllers').controller('CopayersController',
|
||||||
|
|
||||||
$scope.hideAdv = true;
|
$scope.hideAdv = true;
|
||||||
|
|
||||||
|
|
||||||
|
$scope.skipBackup = function() {
|
||||||
|
var w = $rootScope.wallet;
|
||||||
|
w.setBackupReady();
|
||||||
|
};
|
||||||
|
|
||||||
$scope.backup = function() {
|
$scope.backup = function() {
|
||||||
var w = $rootScope.wallet;
|
var w = $rootScope.wallet;
|
||||||
w.setBackupReady();
|
w.setBackupReady();
|
||||||
|
@ -37,4 +43,4 @@ angular.module('copayApp.controllers').controller('CopayersController',
|
||||||
return $rootScope.wallet.publicKeyRing.isBackupReady(copayer.copayerId);
|
return $rootScope.wallet.publicKeyRing.isBackupReady(copayer.copayerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
|
@ -51,6 +51,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box-setup-copayers p20">
|
<div class="box-setup-copayers p20">
|
||||||
|
<span translate>Creating and storing a backup will allow to restore funds of the wallet</span>
|
||||||
<div class="oh">
|
<div class="oh">
|
||||||
<div ng-include="'views/includes/copayer.html'"></div>
|
<div ng-include="'views/includes/copayer.html'"></div>
|
||||||
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
||||||
|
@ -75,21 +76,23 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-right">
|
<!-- <div class="text-right">
|
||||||
<div class="left text-left m10b">
|
<button class="button secondary m0"
|
||||||
<a class="expand small" ng-click="hideAdv=!hideAdv">
|
ng-click="skipBackup()"
|
||||||
<span translate ng-hide="!hideAdv">Show</span>
|
ng-show="!$root.wallet.publicKeyRing.isBackupReady()"
|
||||||
<span translate ng-hide="hideAdv">Hide</span>
|
ng-disabled="!$root.wallet.publicKeyRing.isComplete()">
|
||||||
<span translate>advanced options</span>
|
<span translate ng-show="$root.wallet.publicKeyRing.isComplete()" >
|
||||||
</a>
|
Skip Backup
|
||||||
<div ng-hide="hideAdv">
|
</span>
|
||||||
<a translate class="text-warning" ng-really-click="deleteWallet()"
|
</button> -->
|
||||||
ng-really-message="Are you sure to delete this wallet from this computer?">Delete wallet</a>
|
|
||||||
<span class="text-gray">|</span>
|
<a class="small" ng-click="skipBackup()"
|
||||||
<a translate class="text-primary m20r" ng-click="downloadBackup()"
|
ng-show="!$root.wallet.publicKeyRing.isBackupReady()"
|
||||||
ng-show="!$root.wallet.publicKeyRing.isComplete()">Download seed backup</a>
|
ng-disabled="!$root.wallet.publicKeyRing.isComplete()">
|
||||||
</div>
|
<span translate ng-show="$root.wallet.publicKeyRing.isComplete()" >
|
||||||
</div>
|
Skip Backup
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
<button class="button primary m0"
|
<button class="button primary m0"
|
||||||
ng-click="backup()"
|
ng-click="backup()"
|
||||||
ng-show="!$root.wallet.publicKeyRing.isBackupReady()"
|
ng-show="!$root.wallet.publicKeyRing.isBackupReady()"
|
||||||
|
|
Loading…
Reference in New Issue