mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Initial work on due cards page
This commit is contained in:
parent
108d01ee35
commit
1abdd5177d
7 changed files with 483 additions and 1 deletions
|
@ -139,6 +139,32 @@ FlowRouter.route('/my-cards', {
|
|||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/due-cards', {
|
||||
name: 'my-cards',
|
||||
action() {
|
||||
const dueCardsTemplate = 'dueCards';
|
||||
|
||||
Filter.reset();
|
||||
// EscapeActions.executeAll();
|
||||
EscapeActions.executeUpTo('popup-close');
|
||||
|
||||
Utils.manageCustomUI();
|
||||
Utils.manageMatomo();
|
||||
|
||||
// if (previousPath) {
|
||||
// Modal.open(dueCardsTemplate, {
|
||||
// header: 'dueCardsModalTitle',
|
||||
// onCloseGoTo: previousPath,
|
||||
// });
|
||||
// } else {
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'dueCardsHeaderBar',
|
||||
content: dueCardsTemplate,
|
||||
});
|
||||
// }
|
||||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/import/:source', {
|
||||
name: 'import',
|
||||
triggersEnter: [AccountsTemplates.ensureSignedIn],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue