Update 02.10.2020

This commit is contained in:
Denys Konovalov 2020-10-02 14:59:56 +02:00
parent 16f790c1e0
commit aa94e665a6
2 changed files with 14 additions and 0 deletions

View File

@ -80,6 +80,8 @@ collections:
slug: "{{slug}}" slug: "{{slug}}"
editor: editor:
preview: false preview: false
media_folder: '/static/media/teachers'
public_folder: '/media/teachers'
fields: fields:
- {label: "Name", name: "title", widget: "string"} - {label: "Name", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false} - {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
@ -112,6 +114,8 @@ collections:
slug: "{{slug}}" slug: "{{slug}}"
editor: editor:
preview: false preview: false
media_folder: '/static/media/events'
public_folder: '/media/events'
fields: fields:
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "publishDate", widget: "datetime"} - {label: "Veröffentlichungsdatum", name: "publishDate", widget: "datetime"}
@ -131,6 +135,8 @@ collections:
slug: "{{slug}}" slug: "{{slug}}"
editor: editor:
preview: false preview: false
media_folder: '/static/media/forms'
public_folder: '/media/forms'
fields: fields:
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"} - {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"}
@ -159,6 +165,8 @@ collections:
create: true create: true
editor: editor:
preview: false preview: false
media_folder: '/static/media/cantorpreis'
public_folder: '/media/cantorpreis'
fields: fields:
- {label: "Jahr", name: "title", widget: "string"} - {label: "Jahr", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false} - {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
@ -182,6 +190,8 @@ collections:
create: true create: true
editor: editor:
preview: false preview: false
media_folder: '/static/media/ganztagsangebote'
public_folder: '/media/ganztagsangebote'
fields: fields:
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"} - {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"}
@ -211,6 +221,8 @@ collections:
create: true create: true
editor: editor:
preview: false preview: false
media_folder: '/static/media/notice'
public_folder: '/media/notice'
fields: fields:
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"} - {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"}
@ -226,6 +238,8 @@ collections:
create: true create: true
editor: editor:
preview: false preview: false
media_folder: ['/static/media/contests', '/static/media/']
public_folder: ['/media/people/contests', '/media']
fields: fields:
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false} - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB