feat: add admin screens, permissions and navigation

Seven admin controllers in a "Studia BM" navigation group, guarded by
jz.bm.access_courses, jz.bm.access_schedule and jz.bm.access_materials,
with Polish and English labels. Date and time fields are checked by the
models before a save and answered as 422 on the field.
This commit is contained in:
Jakub Zych
2026-10-02 14:26:26 +02:00
parent 1046237771
commit 577fa14d3d
42 changed files with 1234 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
columns:
number:
label: jz.bm::lang.meetings.number
starts_on:
label: jz.bm::lang.meetings.starts_on
ends_on:
label: jz.bm::lang.meetings.ends_on
notes:
label: jz.bm::lang.common.notes
searchable: true
sortable: false

View File

@@ -0,0 +1,22 @@
fields:
number:
label: jz.bm::lang.meetings.number
type: number
span: left
required: true
starts_on:
label: jz.bm::lang.meetings.starts_on
type: text
span: left
required: true
comment: jz.bm::lang.common.date_comment
ends_on:
label: jz.bm::lang.meetings.ends_on
type: text
span: right
required: true
comment: jz.bm::lang.common.date_comment
notes:
label: jz.bm::lang.common.notes
type: textarea
size: small