1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

hide paypal until ready

This commit is contained in:
Kyle Spearrin 2017-07-28 21:16:33 -04:00
parent 04da844b22
commit e1ec50bcad
2 changed files with 12 additions and 10 deletions

View File

@ -7,7 +7,7 @@
$scope.existingPaymentMethod = existingPaymentMethod;
$scope.paymentMethod = 'card';
$scope.dropinLoaded = false;
$scope.showPaymentOptions = true;
$scope.showPaymentOptions = false;
$scope.card = {};
var btInstance = null;

View File

@ -89,6 +89,7 @@
<h3 class="box-title">Payment Information</h3>
</div>
<div class="box-body">
<div ng-if="false">
<label class="radio-inline radio-lg radio-boxed">
<input type="radio" name="PaymentMethod" value="card" ng-model="paymentMethod"
ng-change="changePaymentMethod()"><i class="fa fa-fw fa-credit-card"></i> Credit Card
@ -98,6 +99,7 @@
ng-change="changePaymentMethod()"><i class="fa fa-fw fa-paypal"></i> PayPal
</label>
<hr />
</div>
<div ng-if="paymentMethod === 'paypal'">
<div id="bt-dropin-container"></div>
</div>