mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Optimize for mobile web, show single list per page with navigate bar
This commit is contained in:
parent
162b15c0cd
commit
c31d7455f7
15 changed files with 189 additions and 34 deletions
|
|
@ -8,6 +8,7 @@ FlowRouter.route('/', {
|
|||
triggersEnter: [AccountsTemplates.ensureSignedIn],
|
||||
action() {
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
|
||||
Filter.reset();
|
||||
|
|
@ -88,6 +89,7 @@ FlowRouter.route('/import/:source', {
|
|||
Session.set('fromBoard', Session.get('currentBoard'));
|
||||
}
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('importSource', params.source);
|
||||
|
||||
|
|
@ -106,6 +108,7 @@ FlowRouter.route('/setting', {
|
|||
AccountsTemplates.ensureSignedIn,
|
||||
() => {
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
|
||||
Filter.reset();
|
||||
|
|
@ -126,6 +129,7 @@ FlowRouter.route('/information', {
|
|||
AccountsTemplates.ensureSignedIn,
|
||||
() => {
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
|
||||
Filter.reset();
|
||||
|
|
@ -146,6 +150,7 @@ FlowRouter.route('/people', {
|
|||
AccountsTemplates.ensureSignedIn,
|
||||
() => {
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
|
||||
Filter.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue