mirror of
https://github.com/wekan/wekan.git
synced 2026-02-20 15:04:07 +01:00
Accessibility statement. Part 1. In Progress.
Thanks to xet7 !
This commit is contained in:
parent
de2ddbe8b5
commit
729d8fb435
10 changed files with 231 additions and 2 deletions
|
|
@ -55,6 +55,30 @@ FlowRouter.route('/public', {
|
|||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/accessibility', {
|
||||
name: 'accessibility',
|
||||
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: 'accessibilityHeaderBar',
|
||||
content: 'accessibility',
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/b/:id/:slug', {
|
||||
name: 'board',
|
||||
action(params) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue