mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Planyway-style: shows due/start/end/received dates for cards across every board the current user belongs to, not just the currently open board, right below Calendar in the Board View menu. Reuses the single-board Calendar view's FullCalendar rendering as-is and #4223 Bigboard's all-boards membership query/subscription pattern, prefixing each event with its board's title so entries stay distinguishable. Cross-board drag-to-reschedule is out of scope here; the view is read-only and the single-board Calendar's own drag handling is unaffected. Thanks to justinr1234 and xet7 ! Closes #2469,
16 lines
860 B
Plaintext
16 lines
860 B
Plaintext
//- #2469: "Multi Board Calendar" - Planyway-style calendar showing due/
|
|
//- start/end/received dates for cards across EVERY board the current user
|
|
//- is a member of, not just the currently open board. Reuses the single-
|
|
//- board Calendar view's FullCalendar rendering (+fullcalendar, the same
|
|
//- fc-* CSS in calendarView.css) and #4223 Bigboard's all-boards
|
|
//- subscription/query pattern (bigboardQuery in bigboardView.js) for the
|
|
//- card set. Each event is prefixed with its board's title so entries from
|
|
//- different boards stay distinguishable, and clicking an event opens that
|
|
//- card the same way the single-board Calendar view already does.
|
|
template(name="multiboardCalendarView")
|
|
.calendar-view.multiboard-calendar-view.swimlane.dragscroll
|
|
if isLoading
|
|
p.quiet {{_ 'loading'}}
|
|
else
|
|
+fullcalendar(multiboardCalendarOptions)
|