Form design for proxy hosts, audit log base

This commit is contained in:
Jamie Curnow committed 2018-07-16 17:00:52 +10:00
1 parent 74d2238010
commit c5450eaa1a
29 files changed
+646 -121

No files matched your search

+10 -7
View File
@@ -204,15 +204,18 @@ module.exports = {
},
/**
* Dashboard
* Audit Log
*/
showProfile: function () {
showAuditLog: function () {
let controller = this;
require(['./main', './profile/main'], (App, View) => {
controller.navigate('/profile');
App.UI.showAppContent(new View());
});
if (Cache.User.isAdmin()) {
require(['./main', './audit-log/main'], (App, View) => {
controller.navigate('/audit-log');
App.UI.showAppContent(new View());
});
} else {
this.showDashboard();
}
},
/**