Make app documentation a dropdown to show postinstall and upstream project link

This commit is contained in:
Johannes Zellner
2019-09-26 20:48:04 +02:00
parent f3c2a3c025
commit 17771ccecd
3 changed files with 35 additions and 10 deletions

View File

@@ -77,6 +77,11 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.view = view;
};
$scope.showPostInstall = function () {
if (!$scope.app.manifest.postInstallMessage) return;
$('#postInstallModal').modal('show');
};
$scope.display = {
busy: false,
error: {},