diff --git a/dashboard/src/index.html b/dashboard/src/index.html
index 49d99c5d5..9068814bc 100644
--- a/dashboard/src/index.html
+++ b/dashboard/src/index.html
@@ -188,9 +188,19 @@
Update available
-
+
- FREE TRIAL
+ LICENSE EXPIRED
+
+
+
+
+ IN TRIAL SETUP BILLING
+
+
+
+
+ IN TRIAL
diff --git a/dashboard/src/js/main.js b/dashboard/src/js/main.js
index ab7f2679f..207a6f0d8 100644
--- a/dashboard/src/js/main.js
+++ b/dashboard/src/js/main.js
@@ -8,6 +8,8 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
$scope.status = {};
$scope.client = Client;
$scope.appstoreConfig = {};
+ $scope.subscription = {};
+ $scope.ready = false;
$scope.hideNavBarActions = $location.path() === '/logs';
@@ -210,6 +212,13 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (error) return console.error(error);
$scope.appstoreConfig.profile = result;
+
+ AppStore.getSubscription($scope.appstoreConfig, function (error, result) {
+ if (error) return console.error(error);
+
+ $scope.subscription = result;
+ $scope.ready = true;
+ });
});
});
}