summaryrefslogtreecommitdiff
path: root/models/lecture.ini
diff options
context:
space:
mode:
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
+
+