Files
sm-bm-plugin/models/readings/fields.yaml
Jakub Zych 3241cc9894 feat: zjazd (meeting) on readings and materials
The Pulpit hero lists what to read for the current or next zjazd, so
readings and materials get a nullable meeting_id (FK to jz_bm_meetings,
ON DELETE SET NULL, indexed). The reading admin form gets a "Na zjazd"
picker, the student reading JSON carries meeting_id, and the management
/readings records filter and validate it.
2026-10-27 01:41:48 +01:00

41 lines
978 B
YAML

fields:
course:
label: jz.bm::lang.common.course
type: relation
nameFrom: name
span: left
required: true
is_required:
label: jz.bm::lang.readings.is_required
type: switch
span: right
title:
label: jz.bm::lang.common.title
type: text
span: left
required: true
author:
label: jz.bm::lang.readings.author
type: text
span: right
source:
label: jz.bm::lang.common.source
type: text
span: left
url:
label: jz.bm::lang.common.url
type: text
span: right
sort_order:
label: jz.bm::lang.common.sort_order
type: number
span: left
default: 0
meeting:
label: jz.bm::lang.common.meeting
type: relation
nameFrom: number
span: right
emptyOption: jz.bm::lang.common.none
comment: jz.bm::lang.common.meeting_comment