Show notification if not connected to Glidera

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-08 18:55:08 -03:00
commit d8ab49294c
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -20,12 +20,7 @@
<span ng-show="glidera.loading" translate>Connecting to Glidera...</span>
<span ng-show="index.glideraLoading">{{index.glideraLoading|translate}}</span>
</div>
</div>
<div class="box-notification size-12 text-warning" ng-show="index.network == 'testnet'">
<i class="fi-info"></i>
Testnet wallets only work with Glidera Sandbox Accounts
</div>
</div>
<div class="row m20t">
<div class="columns">
@ -54,6 +49,12 @@
<div class="text-center" ng-show="!showOauthForm">
<p translate>You can buy and sell Bitcoin with a US bank account directly in Copay.</p>
<div class="m10b text-gray size-12" translate>Connect your Glidera account to get started</div>
<div class="box-notification size-12 text-warning" ng-show="index.network == 'testnet'">
<i class="fi-info"></i>
Testnet wallets only work with Glidera Sandbox Accounts
</div>
<button
class="dark-gray outline round tiny"
ng-click="$root.openExternalLink(glidera.getAuthenticateUrl()); showOauthForm = true" translate>