enhancements
All checks were successful
deploy to production / deploy (push) Successful in 32s

This commit is contained in:
Robin Grenzdörfer 2023-11-12 17:55:27 +00:00
parent 9258759c01
commit 859d7b0e2d
4 changed files with 70 additions and 18 deletions

View File

@ -3,7 +3,7 @@ uploadPath: ../media/page
meta: meta:
label: Inhalt label: Inhalt
muiIcon: web muiIcon: tableOfContents
backup: backup:
active: true active: true
collectionName: backups collectionName: backups
@ -18,7 +18,8 @@ meta:
- source: active - source: active
name: Aktiv name: Aktiv
tablist: tablist:
activeTab: site activeTab: general
tabs: tabs:
- name: general - name: general
label: Allgemein label: Allgemein
@ -26,7 +27,6 @@ meta:
- source: path - source: path
- source: pageTitle - source: pageTitle
- source: type - source: type
- source: active - source: active
- name: teaser - name: teaser
@ -41,7 +41,7 @@ meta:
- source: personPreview - source: personPreview
- name: jobOffer - name: jobOffer
label: Job Angebote label: Job Angebot
subFields: subFields:
- source: jobOffer - source: jobOffer
@ -59,6 +59,10 @@ meta:
defaultSort: defaultSort:
field: "pfad" field: "pfad"
order: "ASC" order: "ASC"
setDefault:
field: type
value: page
views: views:
- type: table - type: table
columns: columns:
@ -76,7 +80,10 @@ meta:
label: label:
de: Teammitglieder de: Teammitglieder
en: Team members en: Team members
muiIcon: book-open-page-variant muiIcon: accountGroup
setDefault:
field: type
value: teamMembers
defaultSort: defaultSort:
field: "pfad" field: "pfad"
order: "ASC" order: "ASC"
@ -96,7 +103,10 @@ meta:
label: label:
de: Stellenanzeigen de: Stellenanzeigen
en: Job offers en: Job offers
muiIcon: book-open-page-variant muiIcon: briefcase
setDefault:
field: type
value: jobOffers
defaultSort: defaultSort:
field: "pfad" field: "pfad"
order: "ASC" order: "ASC"
@ -181,6 +191,8 @@ fields:
name: active name: active
meta: meta:
label: Aktiv label: Aktiv
helperText: Ist dies Aktiviert, so wird die Seite verfügbar.
defaultValue: true
containerProps: containerProps:
layout: layout:
size: size:
@ -191,8 +203,9 @@ fields:
- type: string - type: string
name: type name: type
meta: meta:
label: Typ label: Inhaltstyp
widget: select widget: select
defaultValue: page
containerProps: containerProps:
layout: layout:
size: size:
@ -226,9 +239,14 @@ fields:
meta: meta:
label: Typ label: Typ
widget: select widget: select
defaultValue: chef
dependsOn:
eval: $.type == "teamMembers"
choices: choices:
- name: Chef - name: Chef
id: chef id: chef
- name: Mitarbeiter - name: Mitarbeiter
id: employee id: employee
@ -236,6 +254,8 @@ fields:
type: object type: object
meta: meta:
label: Personenvorschau label: Personenvorschau
dependsOn:
eval: $.type == "teamMembers"
subFields: subFields:
- name: initialImage - name: initialImage
type: string type: string
@ -291,7 +311,9 @@ fields:
- name: jobOffer - name: jobOffer
type: object type: object
meta: meta:
label: Job Angebote label: Job Angebot
dependsOn:
eval: $.type == "jobOffers"
subFields: subFields:
- name: title - name: title
type: string type: string
@ -312,7 +334,7 @@ fields:
- name: emailSubject - name: emailSubject
type: string type: string
meta: meta:
label: E-Mail default Betreff label: E-Mail Betreff
dependsOn: dependsOn:
eval: $parent.emailButton == true eval: $parent.emailButton == true
@ -321,6 +343,8 @@ fields:
meta: meta:
label: Zeilen label: Zeilen
widget: grid widget: grid
dependsOn:
eval: $.type != "jobOffers" && ($.type != "teamMembers" || $.personType == "chef")
metaElements: metaElements:
- source: backgroundImage - source: backgroundImage
- source: noBottomMargin - source: noBottomMargin
@ -328,7 +352,5 @@ fields:
- source: flexWrapNormal - source: flexWrapNormal
- source: twoToThree - source: twoToThree
- source: nextPage - source: nextPage
folding:
force: true
subFields: !include fieldLists/row.yml subFields: !include fieldLists/row.yml

View File

@ -22,9 +22,6 @@
- name: Top-Down - name: Top-Down
id: topDown id: topDown
- name: Ausfahrbare Box
id: extendableBoxes
- name: Text mit Link - name: Text mit Link
id: textLink id: textLink
@ -142,10 +139,23 @@
type: string type: string
meta: meta:
label: oberer text label: oberer text
containerProps:
layout:
size:
default: "col-6"
small: "col-12"
large: "col-6"
- name: smallText - name: smallText
type: string type: string
meta: meta:
label: unterer Text label: unterer Text
containerProps:
layout:
size:
default: "col-6"
small: "col-12"
large: "col-6"
- name: image - name: image
type: string type: string

View File

@ -2,6 +2,8 @@ name: teaser
type: object type: object
meta: meta:
label: Teaser label: Teaser
dependsOn:
eval: $.type == "page"
metaElements: metaElements:
- showTeaser - showTeaser
subFields: subFields:
@ -14,8 +16,8 @@ subFields:
- name: subTitle - name: subTitle
type: string type: string
meta: meta:
label: Untertitel label: Übertitel
helperText: "Dieser Untertitel wird in der Startseite angezeigt." helperText: "Dieser Übertitel wird in der Startseite über dem Titel angezeigt."
- name: teaserTitle - name: teaserTitle
type: string type: string
@ -28,4 +30,4 @@ subFields:
meta: meta:
widget: richtext widget: richtext
label: Beschreibung label: Beschreibung
helperText: "Diese Beschreibung wird in der Startseite angezeigt." helperText: "Diese Beschreibung wird in der Startseite unter dem Titel angezeigt."

View File

@ -22,7 +22,25 @@ meta:
upper: rgba(3, 50, 59, 0.7) upper: rgba(3, 50, 59, 0.7)
lower: rgba(3, 50, 59) lower: rgba(3, 50, 59)
minorItems: [] - collection: module
type: reference
style:
upper: rgba(3, 50, 59, 0.7)
lower: rgba(3, 50, 59)
- collection: medialib
type: reference
style:
upper: rgba(3, 50, 59, 0.7)
lower: rgba(3, 50, 59)
minorItems:
- collection: page
subNavigation: 0
- collection: page
subNavigation: 1
- collection: page
subNavigation: 2
collections: collections:
- !include collections/navigation.yml - !include collections/navigation.yml