forked from cms/tibi-svelte-starter
Neue Collection für eine einfache Listung von Dateien mit generierung der externen URL.
This commit is contained in:
parent
2737872396
commit
05fe698af6
@ -24,12 +24,16 @@ meta:
|
|||||||
mediaQuery: "(max-width:599px)"
|
mediaQuery: "(max-width:599px)"
|
||||||
primaryText: path
|
primaryText: path
|
||||||
columns:
|
columns:
|
||||||
|
- date
|
||||||
|
- title
|
||||||
- source: file
|
- source: file
|
||||||
type: file
|
type: file
|
||||||
# Desktop
|
# Desktop
|
||||||
- type: table
|
- type: table
|
||||||
mediaQuery: "(min-width:600px)"
|
mediaQuery: "(min-width:600px)"
|
||||||
columns:
|
columns:
|
||||||
|
- date
|
||||||
|
- title
|
||||||
- source: file
|
- source: file
|
||||||
type: file
|
type: file
|
||||||
|
|
||||||
@ -102,8 +106,31 @@ hooks:
|
|||||||
|
|
||||||
# Feldliste der Kollektion
|
# Feldliste der Kollektion
|
||||||
fields:
|
fields:
|
||||||
|
- name: date
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
filter: true
|
||||||
|
widget: date
|
||||||
|
inputProps:
|
||||||
|
type: "datetime-local"
|
||||||
|
label:
|
||||||
|
de: Datum
|
||||||
|
en: Date
|
||||||
|
helperText:
|
||||||
|
de: "Dieses Feld wird nur zur Filterung innerhalb vom Tibi-CMS verwendet."
|
||||||
|
en: "This field is only used for filtering within Tibi-CMS."
|
||||||
|
- name: title
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
filter: true
|
||||||
|
label: { de: "Titel", en: "Title" }
|
||||||
|
helperText:
|
||||||
|
de: "Dieses Feld wird nur zur Filterung innerhalb vom Tibi-CMS verwendet."
|
||||||
|
en: "This field is only used for filtering within Tibi-CMS."
|
||||||
- name: file
|
- name: file
|
||||||
type: file
|
type: file
|
||||||
meta:
|
meta:
|
||||||
|
masterDomain: "http://localhost:3002"
|
||||||
widget: image
|
widget: image
|
||||||
label: { de: "Datei", en: "File" }
|
label: { de: "Datei", en: "File" }
|
||||||
|
externalUrl: true
|
||||||
|
Loading…
Reference in New Issue
Block a user