mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Change the board import layout from a popup to a full page
This commit also removes the “import a single Trello card” as we couldn’t figure out some reasonable use case. We also create a new publication on the server to provide the minimal user profile informations required to display an avatar.
This commit is contained in:
parent
67e7b6a139
commit
a13fad749e
13 changed files with 201 additions and 203 deletions
|
|
@ -79,6 +79,26 @@ FlowRouter.route('/shortcuts', {
|
|||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/import', {
|
||||
name: 'import',
|
||||
triggersEnter: [
|
||||
AccountsTemplates.ensureSignedIn,
|
||||
() => {
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentCard', null);
|
||||
|
||||
Filter.reset();
|
||||
EscapeActions.executeAll();
|
||||
},
|
||||
],
|
||||
action() {
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'importHeaderBar',
|
||||
content: 'import',
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
FlowRouter.notFound = {
|
||||
action() {
|
||||
BlazeLayout.render('defaultLayout', { content: 'notFound' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue