Add new carrier billing plan

Fixes #370
This commit is contained in:
Joseph Schorr 2015-08-21 14:00:57 -04:00
parent 9098e0a1fe
commit e5d2083912
2 changed files with 27 additions and 1 deletions

View file

@ -17,6 +17,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 14,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Basic',
@ -28,6 +29,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 14,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Yacht',
@ -39,6 +41,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 180,
'superseded_by': 'bus-small-30',
'plans_page_hidden': False,
},
{
'title': 'Personal',
@ -50,6 +53,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 14,
'superseded_by': 'personal-30',
'plans_page_hidden': False,
},
{
'title': 'Skiff',
@ -61,6 +65,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 14,
'superseded_by': 'bus-micro-30',
'plans_page_hidden': False,
},
{
'title': 'Yacht',
@ -72,6 +77,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 14,
'superseded_by': 'bus-small-30',
'plans_page_hidden': False,
},
{
'title': 'Freighter',
@ -83,6 +89,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 14,
'superseded_by': 'bus-medium-30',
'plans_page_hidden': False,
},
{
'title': 'Tanker',
@ -94,6 +101,7 @@ PLANS = [
'deprecated': True,
'free_trial_days': 14,
'superseded_by': 'bus-large-30',
'plans_page_hidden': False,
},
# Active plans
@ -107,6 +115,7 @@ PLANS = [
'deprecated': False,
'free_trial_days': 30,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Personal',
@ -118,6 +127,7 @@ PLANS = [
'deprecated': False,
'free_trial_days': 30,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Skiff',
@ -129,6 +139,7 @@ PLANS = [
'deprecated': False,
'free_trial_days': 30,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Yacht',
@ -140,6 +151,7 @@ PLANS = [
'deprecated': False,
'free_trial_days': 30,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Freighter',
@ -151,6 +163,7 @@ PLANS = [
'deprecated': False,
'free_trial_days': 30,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Tanker',
@ -162,6 +175,19 @@ PLANS = [
'deprecated': False,
'free_trial_days': 30,
'superseded_by': None,
'plans_page_hidden': False,
},
{
'title': 'Carrier',
'price': 35000,
'privateRepos': 250,
'stripeId': 'bus-xlarge-30',
'audience': 'For extra large businesses',
'bus_features': True,
'deprecated': False,
'free_trial_days': 30,
'superseded_by': None,
'plans_page_hidden': True,
},
]

View file

@ -66,7 +66,7 @@
</div>
</div>
<div class="col-sm-2 plan-container" ng-repeat="plan in plans" ng-show="plan.price > 0 && !plan.deprecated">
<div class="col-sm-2 plan-container" ng-repeat="plan in plans" ng-show="plan.price > 0 && !plan.deprecated && !plan.plans_page_hidden">
<div class="plan" ng-class="plan.stripeId + ' ' + (plan.bus_features ? 'business-plan' : '')">
<div class="plan-box">
<div class="plan-title">{{ plan.title }}</div>