Show the billing options in the user and org views

This commit is contained in:
Joseph Schorr 2015-05-07 16:43:45 -04:00
parent 7ea02c186a
commit 2105ad90a0
4 changed files with 15 additions and 6 deletions

View file

@ -11,6 +11,9 @@ angular.module('quay').directive('planManager', function () {
scope: {
'user': '=user',
'organization': '=organization',
'hasSubscription': '=hasSubscription',
'readyForPlan': '&readyForPlan',
'planChanged': '&planChanged'
},
@ -68,6 +71,7 @@ angular.module('quay').directive('planManager', function () {
$scope.planChanging = false;
$scope.planLoading = false;
$scope.hasSubscription = subscribedPlan.stripeId != PlanService.getFreePlan();
});
};