Add RateService to get info about fiat currencies
This commit is contained in:
parent
decc9e9dba
commit
3da033cb06
3 changed files with 86 additions and 31 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<div class="send" data-ng-controller="SendController" data-ng-init="loadTxs()">
|
||||
<div class="send" data-ng-controller="SendController as ctrl" data-ng-init="loadTxs()">
|
||||
<div ng-show='$root.wallet.isReady()'>
|
||||
|
||||
<h1 ng-show="txs.length != 0">Send Proposals</h1>
|
||||
|
|
@ -88,14 +88,14 @@
|
|||
<label for="alternative">Amount in {{ $root.alternativeName }} </label>
|
||||
<div class="small-9 columns">
|
||||
<input type="number" id="alternative_amount"
|
||||
ng-disabled="loading"
|
||||
ng-disabled="loading || !ctrl.rateService.isAvailable "
|
||||
name="alternative" placeholder="Amount" ng-model="alternative"
|
||||
min="{{minAlternativeAmount}}" max="10000000000" enough-amount required
|
||||
autocomplete="off"
|
||||
>
|
||||
</div>
|
||||
<div class="small-3 columns">
|
||||
<span class="postfix">{{$root.alternativeShort}}</span>
|
||||
<span class="postfix">{{$root.alternativeIsoCode}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue