feat: lecturer on class sessions and in the session course ref

The schedule showed a lecturer only where the session notes named one
(Globalizacja), so the student plan had nobody under the other courses.
The session JSON now carries the course lecturer in its course ref and an
optional per-session lecturer (new nullable column, admin field, seed key)
for courses shared between two people. The student app shows the
session's own lecturer or, failing that, the course's.
This commit is contained in:
Jakub Zych
2026-10-17 11:20:11 +02:00
parent d2096e2128
commit ebd9117f8c
47 changed files with 93 additions and 47 deletions

View File

@@ -35,10 +35,15 @@ fields:
label: jz.bm::lang.sessions.kind
type: text
span: right
lecturer:
label: jz.bm::lang.sessions.lecturer
comment: jz.bm::lang.sessions.lecturer_comment
type: text
span: left
is_online:
label: jz.bm::lang.sessions.is_online
type: switch
span: left
span: right
notes:
label: jz.bm::lang.common.notes
type: textarea

View File

@@ -26,10 +26,15 @@ fields:
label: jz.bm::lang.sessions.kind
type: text
span: right
lecturer:
label: jz.bm::lang.sessions.lecturer
comment: jz.bm::lang.sessions.lecturer_comment
type: text
span: left
is_online:
label: jz.bm::lang.sessions.is_online
type: switch
span: left
span: right
notes:
label: jz.bm::lang.common.notes
type: textarea