Fixup text in postinstall and info dialog

This commit is contained in:
Girish Ramakrishnan
2020-07-16 15:43:30 -07:00
parent 6dd414fe7e
commit 90f42fe6cd
2 changed files with 12 additions and 0 deletions

View File

@@ -33,11 +33,13 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout'
app: {},
message: '',
confirmed: false,
customAuth: false,
show: function (app) {
$scope.appPostInstallConfirm.app = app;
$scope.appPostInstallConfirm.message = app.manifest.postInstallMessage;
$scope.appPostInstallConfirm.confirmed = false;
$scope.appPostInstallConfirm.customAuth = !(app.manifest.addons['ldap'] || app.manifest.addons['oauth']);
$('#appPostInstallConfirmModal').modal('show');
@@ -57,10 +59,12 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout'
$scope.appInfo = {
app: {},
message: '',
customAuth: false,
show: function (app) {
$scope.appInfo.app = app;
$scope.appInfo.message = app.manifest.postInstallMessage;
$scope.appInfo.customAuth = !(app.manifest.addons['ldap'] || app.manifest.addons['oauth']);
$('#appinfoPostinstallMessage').collapse('hide');
$('#appInfoModal').modal('show');