refactor
This commit is contained in:
parent
eef61bfd51
commit
ebedb64237
4 changed files with 5 additions and 4 deletions
|
|
@ -93,6 +93,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h4></h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="extra-margin-bottom"></div>
|
<div class="extra-margin-bottom"></div>
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<li ng-click="$root.go('preferencesBwsUrl')">
|
<li ng-click="$root.go('preferencesBwsUrl')">
|
||||||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||||
<div translate>Wallet Service URL</div>
|
<div>Wallet Service URL</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li ng-click="$root.go('delete')">
|
<li ng-click="$root.go('delete')">
|
||||||
|
|
|
||||||
|
|
@ -34,13 +34,13 @@
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p translate class="size-14 text-gray" ng-show="index.needsBackup" >
|
<p class="size-14 text-gray" ng-show="index.needsBackup" >
|
||||||
<span translate>
|
<span translate>
|
||||||
Need to do backup
|
Need to do backup
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<button class="button round expand warning" ng-disabled="index.needsBackup" ng-click="preferences.delete()" translate>
|
<button class="button round expand warning" ng-disabled="index.needsBackup" ng-click="preferences.delete()">
|
||||||
<i class="fi-trash"></i>
|
<i class="fi-trash"></i>
|
||||||
<span translate>
|
<span translate>
|
||||||
DELETE WORDS
|
DELETE WORDS
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('preferencesDeleteWordsController',
|
angular.module('copayApp.controllers').controller('preferencesDeleteWordsController',
|
||||||
function($scope, $rootScope, $filter, $timeout, $modal, $log, confirmDialog, storageService, notification, profileService, isCordova, go, gettext, gettextCatalog, animationService) {
|
function(confirmDialog, notification, profileService, go, gettext) {
|
||||||
var self = this;
|
var self = this;
|
||||||
var fc = profileService.focusedClient;
|
var fc = profileService.focusedClient;
|
||||||
var msg = gettext('Are you sure you want to delete the backup words?');
|
var msg = gettext('Are you sure you want to delete the backup words?');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue