Merge pull request #3658 from cmgustavo/bug/glidera-variables
Fix and Simplify a variable for Glidera-Integration
This commit is contained in:
commit
6b5558008d
1 changed files with 11 additions and 12 deletions
|
|
@ -133,23 +133,22 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="text-center columns small-8 small-centered m30v size-12"
|
<div class="text-center columns small-8 small-centered m30v size-12"
|
||||||
ng-show="index.glideraStatus && (!index.glideraStatus.userEmailIsSetup || !index.glideraStatus.userPhoneIsSetup
|
ng-show="index.glideraStatus && !index.glideraStatus.userCanTransact">
|
||||||
|| (!index.glideraStatus.userBankAccountIsSetup && index.glideraStatus.bankAccountState != 'VERIFIED'))">
|
|
||||||
<h4 class="text-bold"> Complete Setup</h4>
|
<h4 class="text-bold"> Complete Setup</h4>
|
||||||
Your Glidera account is not ready to transact. Please, verify it at <b>Glidera.io</b>
|
<div>Your Glidera account is not ready to transact. Please, verify it at <b>Glidera.io</b></div>
|
||||||
<a class="button m20t light-gray outline round tiny"
|
<a class="button m20t light-gray outline round tiny"
|
||||||
ng-init="glideraUrl = index.glideraTestnet ? 'https://sandbox.glidera.io/login' :
|
ng-init="glideraUrl = index.glideraTestnet ? 'https://sandbox.glidera.io/login' :
|
||||||
'https://glidera.io/login'"
|
'https://glidera.io/login'"
|
||||||
ng-click="$root.openExternalLink(glideraUrl)">
|
ng-click="$root.openExternalLink(glideraUrl)">
|
||||||
Go to Glidera
|
Go to Glidera
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="no-bullet m0 size-14"
|
<ul class="no-bullet m0 size-14"
|
||||||
ng-show="index.glideraStatus && index.glideraPermissions.transact && (index.glideraStatus.userBankAccountIsSetup && index.glideraStatus.bankAccountState == 'VERIFIED')">
|
ng-show="index.glideraStatus && index.glideraStatus.userCanTransact">
|
||||||
<li ng-show="index.glideraStatus.userCanTransact && index.glideraStatus.userCanBuy"
|
<li ng-show="index.glideraStatus.userCanBuy"
|
||||||
class="line-b line-t p20 pointer"
|
class="line-b line-t p20 pointer"
|
||||||
ng-click="$root.go('buyGlidera')">
|
ng-click="$root.go('buyGlidera')">
|
||||||
<img src="img/buy-bitcoin.svg" alt="buy bitcoin" width="40">
|
<img src="img/buy-bitcoin.svg" alt="buy bitcoin" width="40">
|
||||||
|
|
@ -159,7 +158,7 @@
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="line-b p20 pointer"
|
<li class="line-b p20 pointer"
|
||||||
ng-show="index.glideraStatus.userCanTransact && index.glideraStatus.userCanSell"
|
ng-show="index.glideraStatus.userCanSell"
|
||||||
ng-click="$root.go('sellGlidera')">
|
ng-click="$root.go('sellGlidera')">
|
||||||
<img src="img/sell-bitcoin.svg" alt="buy bitcoin" width="40">
|
<img src="img/sell-bitcoin.svg" alt="buy bitcoin" width="40">
|
||||||
<span class="m10 text-normal text-bold">Sell Bitcoin</span>
|
<span class="m10 text-normal text-bold">Sell Bitcoin</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue