Merge pull request #3179 from cmgustavo/ref/delete-03

Adds wallet name before to confirm delete
This commit is contained in:
Matias Alejo Garcia 2015-09-17 09:52:51 -03:00
commit 68a9184230
2 changed files with 7 additions and 2 deletions

View file

@ -6,13 +6,17 @@
<div class="content p20v" ng-controller="preferencesDeleteWalletController as preferences">
<div class="m20b text-center">
<span translate>Wallet</span>: {{index.walletName}}
<span ng-show="index.alias">({{index.alias}})</span>
</div>
<h4 class="text-warning text-center m0" translate>Warning!</h4>
<div class="box-notification" ng-show="preferences.error" >
<span class="text-warning size-14">
{{preferences.error|translate}}
</span>
</div>
<div class="columns text-center m10t">
<div class="columns text-center">
<p translate class="size-14 text-gray">Permanently delete this wallet. THIS ACTION CANNOT BE REVERSED</p>
<button class="button round expand warning" ng-click="preferences.deleteWallet()" translate>
Delete wallet

View file

@ -4,7 +4,7 @@
ng-init="titleSection='Wallet Information'; goBackToState = 'preferencesAdvanced'">
</div>
<div class="content preferences p20v" ng-controller="preferencesInformation as info">
<div class="content preferences" ng-controller="preferencesInformation as info">
<h4 class="title m0" translate>Wallet Information</h4>
<ul class="no-bullet m0 size-14">
@ -103,4 +103,5 @@
</ul>
<div class="extra-margin-bottom"></div>
</div>