add coin to preferences/info

+ refactor duplicate
This commit is contained in:
matiu 2017-09-08 16:37:26 -03:00
commit acc1549633
13 changed files with 212 additions and 146 deletions

View file

@ -10,18 +10,16 @@
<ion-toggle class="has-comment" ng-model="cashSupport.value" toggle-class="toggle-balanced" ng-change="cashSupportChange()">
<span class="toggle-label" translate>Support Bitcoin Cash</span>
</ion-toggle>
</div>
<div ng-show="!cashSupport.value">
<span translate>Enable Bitcoin Cash wallet creation and operation within the App.</span>
<a ng-click="openBitcoinCashWeb()">Learn more</a>
</div>
<div ng-if="cashSupport.value">
<span class="setting-value" translate>
<button ng-show="cashSupport.value" ui-sref="tabs.cash" translate>Check your current wallets for Bitcoin Cash</button>
</span>
<div class="settings-explanation">
<div class="settings-description" ng-show="!cashSupport.value">
<span translate>Enable Bitcoin Cash wallet creation and operation within the App.</span>
<a ng-click="openBitcoinCashWeb()">Learn more</a>
</div>
</div>
<div class="padding" ng-if="cashSupport.value">
<a class="button button-standard button-primary" ui-sref="tabs.preferencesCash.scan" translate>Scan your wallets for Bitcoin Cash</a>
</div>
</ion-content>
</ion-view>