mirror of
https://github.com/wekan/wekan.git
synced 2026-02-20 06:58:07 +01:00
Gantt chart view to one board view menu Swimlanes/Lists/Calendar/Gantt.
Thanks to xet7 ! Fixes #2870
This commit is contained in:
parent
1790918006
commit
f34e4c0e36
10 changed files with 511 additions and 112 deletions
|
|
@ -264,6 +264,9 @@ Utils = {
|
|||
} else if (view === 'board-view-cal') {
|
||||
window.localStorage.setItem('boardView', 'board-view-cal'); //true
|
||||
Utils.reload();
|
||||
} else if (view === 'board-view-gantt') {
|
||||
window.localStorage.setItem('boardView', 'board-view-gantt'); //true
|
||||
Utils.reload();
|
||||
} else {
|
||||
window.localStorage.setItem('boardView', 'board-view-swimlanes'); //true
|
||||
Utils.reload();
|
||||
|
|
@ -289,6 +292,8 @@ Utils = {
|
|||
return 'board-view-lists';
|
||||
} else if (window.localStorage.getItem('boardView') === 'board-view-cal') {
|
||||
return 'board-view-cal';
|
||||
} else if (window.localStorage.getItem('boardView') === 'board-view-gantt') {
|
||||
return 'board-view-gantt';
|
||||
} else {
|
||||
window.localStorage.setItem('boardView', 'board-view-swimlanes'); //true
|
||||
Utils.reload();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue