Add display wekan version number and runtime environment

This commit is contained in:
nztqa 2017-08-03 09:24:40 +09:00
parent 3085230b13
commit e407eb9a8b
7 changed files with 166 additions and 3 deletions

View file

@ -120,6 +120,26 @@ FlowRouter.route('/setting', {
},
});
FlowRouter.route('/information', {
name: 'information',
triggersEnter: [
AccountsTemplates.ensureSignedIn,
() => {
Session.set('currentBoard', null);
Session.set('currentCard', null);
Filter.reset();
EscapeActions.executeAll();
},
],
action() {
BlazeLayout.render('defaultLayout', {
headerBar: 'settingHeaderBar',
content: 'information',
});
},
});
FlowRouter.notFound = {
action() {
BlazeLayout.render('defaultLayout', { content: 'notFound' });