diff --git a/dashboard/src/views/app.html b/dashboard/src/views/app.html
index 7362e087d..6f8373780 100644
--- a/dashboard/src/views/app.html
+++ b/dashboard/src/views/app.html
@@ -12,12 +12,41 @@
+
+
+
+
+
{{ 'app.appInfo.ssoEmail' | tr }}
+
{{ 'app.appInfo.sso' | tr }}
+
+
+
+
+
diff --git a/dashboard/src/views/app.js b/dashboard/src/views/app.js
index b78ff343a..ebb06e6fc 100644
--- a/dashboard/src/views/app.js
+++ b/dashboard/src/views/app.js
@@ -10,7 +10,8 @@
/* global Clipboard */
/* global SECRET_PLACEHOLDER */
/* global APP_TYPES, STORAGE_PROVIDERS, BACKUP_FORMATS */
-/* global REGIONS_S3, REGIONS_WASABI, REGIONS_DIGITALOCEAN, REGIONS_EXOSCALE, REGIONS_SCALEWAY, REGIONS_LINODE, REGIONS_OVH, REGIONS_IONOS, REGIONS_UPCLOUD, REGIONS_VULTR, REGIONS_CONTABO */
+/* global REGIONS_S3, REGIONS_WASABI, REGIONS_DIGITALOCEAN, REGIONS_EXOSCALE, REGIONS_SCALEWAY, REGIONS_LINODE, REGIONS_OVH, REGIONS_IONOS, REGIONS_UPCLOUD, REGIONS_VULTR */
+/* global onAppClick */
angular.module('Application').controller('AppController', ['$scope', '$location', '$translate', '$timeout', '$interval', '$route', '$routeParams', 'Client', function ($scope, $location, $translate, $timeout, $interval, $route, $routeParams, Client) {
$scope.s3Regions = REGIONS_S3;
@@ -76,6 +77,31 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
});
};
+ $scope.appPostInstallConfirm = {
+ app: {},
+ message: '',
+ confirmed: false,
+
+ show: function (app) {
+ $scope.appPostInstallConfirm.app = app;
+ $scope.appPostInstallConfirm.message = app.manifest.postInstallMessage;
+ $scope.appPostInstallConfirm.confirmed = false;
+
+ $('#appPostInstallConfirmModal').modal('show');
+
+ return false; // prevent propagation and default
+ },
+
+ submit: function () {
+ if (!$scope.appPostInstallConfirm.confirmed) return;
+
+ $scope.appPostInstallConfirm.app.pendingPostInstallConfirmation = false;
+ delete localStorage['confirmPostInstall_' + $scope.appPostInstallConfirm.app.id];
+
+ $('#appPostInstallConfirmModal').modal('hide');
+ }
+ };
+
$scope.postInstallMessage = {
confirmed: false,
openApp: false,
diff --git a/dashboard/src/views/apps.html b/dashboard/src/views/apps.html
index b7b8012af..0b79bd1e8 100644
--- a/dashboard/src/views/apps.html
+++ b/dashboard/src/views/apps.html
@@ -1,5 +1,5 @@
-