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

View File

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

View File

@ -2,6 +2,8 @@ name: teaser
type: object
meta:
label: Teaser
dependsOn:
eval: $.type == "page"
metaElements:
- showTeaser
subFields:
@ -14,8 +16,8 @@ subFields:
- name: subTitle
type: string
meta:
label: Untertitel
helperText: "Dieser Untertitel wird in der Startseite angezeigt."
label: Übertitel
helperText: "Dieser Übertitel wird in der Startseite über dem Titel angezeigt."
- name: teaserTitle
type: string
@ -28,4 +30,4 @@ subFields:
meta:
widget: richtext
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)
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:
- !include collections/navigation.yml