|
@@ -124,6 +124,30 @@ FlowRouter.route('/shortcuts', {
|
|
|
},
|
|
|
});
|
|
|
|
|
|
+FlowRouter.route('/b/templates', {
|
|
|
+ name: 'template-container',
|
|
|
+ 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: 'boardListHeaderBar',
|
|
|
+ content: 'boardList',
|
|
|
+ });
|
|
|
+ },
|
|
|
+});
|
|
|
+
|
|
|
FlowRouter.route('/my-cards', {
|
|
|
name: 'my-cards',
|
|
|
triggersEnter: [AccountsTemplates.ensureSignedIn],
|