rebase
This commit is contained in:
parent
bab8b4c3ff
commit
1dd5bc791d
6 changed files with 14 additions and 13 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<div class="content preferences" ng-controller="paperWalletController as paperWallet">
|
||||
<h4 ng-show="!paperWallet.error"></h4>
|
||||
<div class="box-notification m20b" ng-show="paperWallet.error">
|
||||
<span classs="text-warning">{{paperWallet.error|translate}}</span>
|
||||
<span class="text-warning">{{paperWallet.error|translate}}</span>
|
||||
</div>
|
||||
<form ng-show="!paperWallet.balance" class="oh">
|
||||
<div class="row">
|
||||
|
|
|
|||
|
|
@ -5,13 +5,15 @@
|
|||
</div>
|
||||
<div class="content preferences" ng-controller="preferencesHistory">
|
||||
<h4></h4>
|
||||
|
||||
<ul class="no-bullet m0" ng-if="!index.isCordova" ng-init="index.updatingTxHistory ? null : csvHistory()">
|
||||
<li ng-if="csvReady">
|
||||
<a ng-csv="csvContent" csv-header="csvHeader" ng-style="{'color':index.backgroundColor}"
|
||||
filename="Copay-{{index.alias || index.walletName}}.csv" translate>Export to file</a>
|
||||
|
||||
<ul class="no-bullet m0">
|
||||
<li ng-if="csvReady && !index.isCordova" ng-init="index.updatingTxHistory ? null : csvHistory()"
|
||||
ng-csv="csvContent" csv-header="csvHeader" filename="Copay-{{index.alias || index.walletName}}.csv">
|
||||
<span ng-style="{'color':index.backgroundColor}" translate>
|
||||
Export to file
|
||||
</span>
|
||||
</li>
|
||||
<li ng-if="!csvReady">
|
||||
<li ng-if="!csvReady && !index.isCordova">
|
||||
<span translate>Export to file [preparing...]</span>
|
||||
</li>
|
||||
<li ng-click="clearTransactionHistory()" ng-style="{'color':index.backgroundColor}" translate>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('backupController',
|
||||
function($rootScope, $scope, $timeout, $log, lodash, profileService, gettext, bwcService, bwsError, walletService, ongoingProcess) {
|
||||
function($rootScope, $scope, $timeout, $log, go, lodash, profileService, gettext, bwcService, bwsError, walletService, ongoingProcess) {
|
||||
|
||||
var fc = profileService.focusedClient;
|
||||
$scope.customWords = [];
|
||||
|
|
@ -41,7 +41,6 @@ angular.module('copayApp.controllers').controller('backupController',
|
|||
};
|
||||
|
||||
$scope.backTo = function(state) {
|
||||
console.log(state);
|
||||
if (state == 'walletHome')
|
||||
go.walletHome();
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
||||
function($scope, $log, configService, go, applicationService, profileService, storageService) {
|
||||
function($scope, $log, configService, applicationService, profileService, storageService) {
|
||||
$scope.error = null;
|
||||
$scope.success = null;
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
|||
opts.bwsFor[walletId] = $scope.bwsurl;
|
||||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) console.log(err);
|
||||
if (err) $log.debug(err);
|
||||
storageService.setCleanAndScanAddresses(walletId, function() {
|
||||
applicationService.restart();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesDeleteWordsController', function(confirmDialog, lodash, notification, profileService, go, gettext) {
|
||||
angular.module('copayApp.controllers').controller('preferencesDeleteWordsController', function($scope, confirmDialog, lodash, notification, profileService, go, gettext) {
|
||||
var fc = profileService.focusedClient;
|
||||
var msg = gettext('Are you sure you want to delete the recovery phrase?');
|
||||
var successMsg = gettext('Recovery phrase deleted');
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesEmailController', function($rootScope, go, profileService, walletService) {
|
||||
angular.module('copayApp.controllers').controller('preferencesEmailController', function($rootScope, $scope, go, profileService, walletService) {
|
||||
$scope.save = function(form) {
|
||||
$scope.error = null;
|
||||
$scope.saving = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue