1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +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.existingPaymentMethod = existingPaymentMethod;
$scope.paymentMethod = 'card'; $scope.paymentMethod = 'card';
$scope.dropinLoaded = false; $scope.dropinLoaded = false;
$scope.showPaymentOptions = true; $scope.showPaymentOptions = false;
$scope.card = {}; $scope.card = {};
var btInstance = null; var btInstance = null;

View File

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