mirror of
https://github.com/wekan/wekan.git
synced 2026-02-28 02:44:07 +01:00
More translations. Added support page to Admin Panel / Settings / Layout.
Thanks to xet7 !
This commit is contained in:
parent
4227377449
commit
a7400dca45
14 changed files with 246 additions and 16 deletions
|
|
@ -79,6 +79,53 @@ FlowRouter.route('/accessibility', {
|
|||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/support', {
|
||||
name: 'support',
|
||||
triggersEnter: [AccountsTemplates.ensureSignedIn],
|
||||
action() {
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCardId', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
EscapeActions.executeAll();
|
||||
|
||||
Utils.manageCustomUI();
|
||||
Utils.manageMatomo();
|
||||
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'supportHeaderBar',
|
||||
content: 'support',
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/public', {
|
||||
name: 'public',
|
||||
action() {
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCardId', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
EscapeActions.executeAll();
|
||||
|
||||
Utils.manageCustomUI();
|
||||
Utils.manageMatomo();
|
||||
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'supportHeaderBar',
|
||||
content: 'support',
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/b/:id/:slug', {
|
||||
name: 'board',
|
||||
action(params) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue