From d4b4c7bd71a4c70de6776e497b6f331bd292e532 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 8 Apr 2017 11:05:32 -0400 Subject: [PATCH] max additional users for personal plan --- .../settingsCreateOrganizationController.js | 7 ++++-- .../views/settingsCreateOrganization.html | 25 ++++++++++++------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/src/app/settings/settingsCreateOrganizationController.js b/src/app/settings/settingsCreateOrganizationController.js index 4d2e37874f..9ae94a22c2 100644 --- a/src/app/settings/settingsCreateOrganizationController.js +++ b/src/app/settings/settingsCreateOrganizationController.js @@ -5,14 +5,17 @@ toastr, $analytics, authService, stripe) { $scope.plans = { free: { - basePrice: 0 + basePrice: 0, + noAdditionalUsers: true, + noPayment: true }, personal: { basePrice: 1, annualBasePrice: 12, baseUsers: 5, userPrice: 1, - annualUserPrice: 12 + annualUserPrice: 12, + maxAdditionalUsers: 5 }, teams: { basePrice: 5, diff --git a/src/app/settings/views/settingsCreateOrganization.html b/src/app/settings/views/settingsCreateOrganization.html index a9138afc24..4c1c2f1c45 100644 --- a/src/app/settings/views/settingsCreateOrganization.html +++ b/src/app/settings/views/settingsCreateOrganization.html @@ -73,7 +73,7 @@ Personal For personal users such as families & friends. - - Add and share with unlimited users + - Add and share with up to 10 users (5 included with base price) - Create unlimited subvaults - Priority customer support - 7 day free trial, cancel anytime @@ -99,19 +99,22 @@ - -
+

Additional Users

Your plan comes with {{plans[model.plan].baseUsers}} users. You can add additional users + + (up to {{plans[model.plan].maxAdditionalUsers}} more) + for {{plans[model.plan].userPrice | currency:'$'}} per user /month.

@@ -119,13 +122,14 @@
+ min="0" ng- class="form-control" placeholder="# of users" api-field + ng-attr-max="{{plans[model.plan].maxAdditionalUsers || 1000000}}" />
-
+

Billing Summary

@@ -167,7 +171,7 @@ {{totalPrice() | currency:"USD $":2}} /{{model.interval}}
-
+

Payment Information

@@ -232,7 +236,8 @@
- +
@@ -497,8 +502,10 @@
- - + +