@@ -284,7 +284,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
$scope.reset();
|
||||
|
||||
$scope.appAccounts.app = app;
|
||||
$scope.appAccounts.info = app.manifest.description;
|
||||
$scope.appAccounts.info = app.manifest.description.match(/### Accounts([\s\S]*?)###/m)[1];
|
||||
|
||||
$('#appAccountsModal').modal('show');
|
||||
|
||||
@@ -481,6 +481,10 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
window.history.back();
|
||||
};
|
||||
|
||||
$scope.hasAccountInfo = function (app) {
|
||||
return app.manifest && app.manifest.description.match(/### Accounts/) !== null;
|
||||
};
|
||||
|
||||
function fetchUsers() {
|
||||
Client.getUsers(function (error, users) {
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user