mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Attachment Management at Admin Console
This commit is contained in:
parent
a064e03fc7
commit
b8d14abe0c
7 changed files with 249 additions and 4 deletions
|
|
@ -355,6 +355,30 @@ FlowRouter.route('/admin-reports', {
|
|||
},
|
||||
});
|
||||
|
||||
FlowRouter.route('/attachments', {
|
||||
name: 'attachments',
|
||||
triggersEnter: [
|
||||
AccountsTemplates.ensureSignedIn,
|
||||
() => {
|
||||
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();
|
||||
},
|
||||
],
|
||||
action() {
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'settingHeaderBar',
|
||||
content: 'attachments',
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
FlowRouter.notFound = {
|
||||
action() {
|
||||
BlazeLayout.render('defaultLayout', { content: 'notFound' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue