diff --git a/src/app/organization/organizationDashboardController.js b/src/app/organization/organizationDashboardController.js index c230858b39..f7ff2e8897 100644 --- a/src/app/organization/organizationDashboardController.js +++ b/src/app/organization/organizationDashboardController.js @@ -1,7 +1,9 @@ angular .module('bit.organization') - .controller('organizationDashboardController', function ($scope, authService, $state) { + .controller('organizationDashboardController', function ($scope, authService, $state, appSettings) { + $scope.selfHosted = appSettings.selfHosted; + $scope.$on('$viewContentLoaded', function () { authService.getUserProfile().then(function (userProfile) { if (!userProfile.organizations) { @@ -10,4 +12,8 @@ $scope.orgProfile = userProfile.organizations[$state.params.orgId]; }); }); + + $scope.goBilling = function () { + $state.go('backend.org.billing', { orgId: $state.params.orgId }) + }; }); diff --git a/src/app/organization/views/organizationDashboard.html b/src/app/organization/views/organizationDashboard.html index be3edc186d..7e6e89c61b 100644 --- a/src/app/organization/views/organizationDashboard.html +++ b/src/app/organization/views/organizationDashboard.html @@ -7,10 +7,12 @@

Organization Disabled

-

- This organization is currently disabled. Users will not see your shared logins or collections. - Contact us if you would like to reinstate this organization. -

+

This organization is currently disabled. Users will not see your shared logins or collections.

+

Contact us if you would like to reinstate this organization.

+

Update your license to reinstate this organization.

+ + Billing & Licensing + Contact Us