added bitcoin and bitcoin cash aliases to config and use them everywhere

This commit is contained in:
Kadir Sekha 2017-11-01 16:26:42 +09:00
commit a730c8e2d2
9 changed files with 41 additions and 12 deletions

View file

@ -3,7 +3,7 @@
Coin
</div>
<select ng-model="formData.coin" ng-change="coinChanged()">
<option value="btc">BTC</option>
<option value="bch">BCH</option>
<option value="btc">{{bitcoinAlias}}</option>
<option value="bch">{{bitcoinCashAlias}}</option>
</select>
</label>

View file

@ -30,7 +30,7 @@
<i class="icon"><img src="img/icon-warning.png" width="20px"></i>
<span class="comment" translate>Amount too low to spend</span>
</div>
</div>
<div ng-show="btx.action == 'sent'" class="ellipsis">
@ -65,7 +65,7 @@
(possible double spend)
</span>
<span ng-if="btx.action != 'invalid'">
{{btx.amountStr}}
{{btx.amountValueStr}} {{btx.amountUnitStr}}
</span>
</span>
<div>