summaryrefslogtreecommitdiff
path: root/models/lecture.ini
diff options
context:
space:
mode:
authorjoak <joak@nospace.at>2020-08-17 11:55:24 +0200
committerjoak <joak@nospace.at>2020-08-17 11:55:24 +0200
commitf60e9ccd5b046101903a79bf6afa0cf87fdd956c (patch)
treedb29d0f55a1bc3347b63341551fa05308554101d /models/lecture.ini
init
Diffstat (limited to 'models/lecture.ini')
-rw-r--r--models/lecture.ini50
1 files changed, 50 insertions, 0 deletions
diff --git a/models/lecture.ini b/models/lecture.ini
new file mode 100644
index 0000000..85710ce
--- /dev/null
+++ b/models/lecture.ini
@@ -0,0 +1,50 @@
+[model]
+name = Lecture
+label = {{ this.title }}
+slug_format = "lectures/"+ {{ this._id }}+"-"+{{ this.venue}}
+
+[fields.title]
+label = Title
+type = string
+
+[fields.url]
+label = url
+type = url
+width = 1/3
+
+[fields.date]
+label = Date
+type = date
+width = 1/3
+
+[fields.selected]
+label = selected
+type = boolean
+width = 1/3
+
+[fields.venue]
+label = Venue
+type = string
+
+[fields.place]
+label = Place
+type = string
+
+[fields.country]
+label = Country
+type = string
+
+[fields.comment]
+label = Comment
+type = string
+
+[fields.thumbnail]
+label = thumbnail
+type = string
+
+[fields.info]
+label = Body
+type = flow
+flow_blocks = gallery,content,video
+
+