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.
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# The class session form inside the course form's relation manager: the
|
|
# course is the parent, and a relation form has no relation pickers, so the
|
|
# meeting (zjazd) is set on the class sessions screen.
|
|
fields:
|
|
starts_at:
|
|
label: jz.bm::lang.sessions.starts_at
|
|
type: datepicker
|
|
mode: datetime
|
|
format: d.m.Y H:i
|
|
firstDay: 1
|
|
span: left
|
|
required: true
|
|
ends_at:
|
|
label: jz.bm::lang.sessions.ends_at
|
|
type: datepicker
|
|
mode: datetime
|
|
format: d.m.Y H:i
|
|
firstDay: 1
|
|
span: right
|
|
required: true
|
|
room:
|
|
label: jz.bm::lang.sessions.room
|
|
type: text
|
|
span: left
|
|
kind:
|
|
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: right
|
|
notes:
|
|
label: jz.bm::lang.common.notes
|
|
type: textarea
|
|
size: small
|