mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
My Cards development
* always go to page * use minicard for displaying cards * change the icon for my cards menu option
This commit is contained in:
parent
885de88d35
commit
a58b27e9b0
5 changed files with 47 additions and 46 deletions
|
|
@ -125,17 +125,17 @@ FlowRouter.route('/my-cards', {
|
|||
Utils.manageCustomUI();
|
||||
Utils.manageMatomo();
|
||||
|
||||
if (previousPath) {
|
||||
Modal.open(myCardsTemplate, {
|
||||
header: 'myCardsModalTitle',
|
||||
onCloseGoTo: previousPath,
|
||||
});
|
||||
} else {
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'myCardsHeaderBar',
|
||||
content: myCardsTemplate,
|
||||
});
|
||||
}
|
||||
// if (previousPath) {
|
||||
// Modal.open(myCardsTemplate, {
|
||||
// header: 'myCardsModalTitle',
|
||||
// onCloseGoTo: previousPath,
|
||||
// });
|
||||
// } else {
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'myCardsHeaderBar',
|
||||
content: myCardsTemplate,
|
||||
});
|
||||
// }
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue