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)"
|
||||
primaryText: path
|
||||
columns:
|
||||
- date
|
||||
- title
|
||||
- source: file
|
||||
type: file
|
||||
# Desktop
|
||||
- type: table
|
||||
mediaQuery: "(min-width:600px)"
|
||||
columns:
|
||||
- date
|
||||
- title
|
||||
- source: file
|
||||
type: file
|
||||
|
||||
@ -102,8 +106,31 @@ hooks:
|
||||
|
||||
# Feldliste der Kollektion
|
||||
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
|
||||
type: file
|
||||
meta:
|
||||
masterDomain: "http://localhost:3002"
|
||||
widget: image
|
||||
label: { de: "Datei", en: "File" }
|
||||
externalUrl: true
|
||||
|
Loading…
Reference in New Issue
Block a user