generated from cms/tibi-docs
83 lines
1.9 KiB
YAML
83 lines
1.9 KiB
YAML
name: navigation
|
|
uploadPath: ../media/navigation
|
|
|
|
meta:
|
|
label: "Navigation"
|
|
muiIcon: navigation
|
|
views:
|
|
- type: simpleList
|
|
mediaQuery: "(max-width:599px)"
|
|
primaryText: tree
|
|
|
|
- type: table
|
|
mediaQuery: "(min-width:600px)"
|
|
columns:
|
|
- source: tree
|
|
|
|
permissions:
|
|
public:
|
|
methods:
|
|
get: true
|
|
post: false
|
|
put: false
|
|
delete: false
|
|
user:
|
|
methods:
|
|
get: true
|
|
post: false
|
|
put: true
|
|
delete: false
|
|
|
|
|
|
|
|
fields:
|
|
- name: tree
|
|
type: number
|
|
meta:
|
|
label: Baum
|
|
widget: select
|
|
helperText: Die Servicenavigation sollte Seiten wie bspw. die Datneschutzerklärung oder das Impressum umfassen.
|
|
choices:
|
|
- id: 0
|
|
name:
|
|
de: Hauptnavigation
|
|
en: main navigation
|
|
- id: 1
|
|
name:
|
|
de: Servicenavigation
|
|
en: service navigation
|
|
|
|
- name: pages
|
|
type: object[]
|
|
meta:
|
|
label:
|
|
de: Seiten
|
|
en: pages
|
|
folding:
|
|
previewUnfolded: name
|
|
previewFolded: name
|
|
subFields:
|
|
- name: name
|
|
type: string
|
|
meta:
|
|
label:
|
|
de: Name
|
|
en: name
|
|
helperText: Dieser Name wird zur Anzeige in der Navigation verwendet.
|
|
|
|
- name: page
|
|
type: string
|
|
meta:
|
|
label:
|
|
de: Seite
|
|
en: page
|
|
widget: select
|
|
choices:
|
|
endpoint: page
|
|
params:
|
|
sort: path
|
|
projection: navigation
|
|
mapping:
|
|
id: id
|
|
name: path
|