Typ Select für Artikel hinzugefügt. Artikel-Details Komponenten sind nun für jeden Typ verfügbar, wenn benötigt.

This commit is contained in:
2022-06-15 13:06:43 +02:00
parent 652f15830d
commit 0d06a61c7f
9 changed files with 106 additions and 38 deletions

View File

@@ -21,6 +21,7 @@ meta:
columns:
- article.general.public
- article.content.title
- article.general.type
- article.general.sort
- source: article.general.locale
type: flag
@@ -32,6 +33,7 @@ meta:
- label: { de: "Titel", en: "Title" }
source: article.content.title
filter: true
- article.general.type
- article.general.sort
- source: article.general.locale
type: flag

View File

@@ -24,6 +24,21 @@ subFields:
helperText:
de: "Der Artikel wird auf der Seite angezeigt."
en: "This article is displayed on the page."
- name: type
type: string
meta:
filter: true
helperText:
de: "Definiert allgemeinen Typ des Artikels."
en: "Defines general type of the article."
widget: select
label:
de: Typ des Artikels
en: Article type
defaultValue: default
choices:
- { id: "default", name: { de: "Artikel", en: "Article" } }
- { id: "news", name: { de: "News", en: "News" } }
- !include ../_locale.yml
- name: tags
type: string[]
@@ -158,10 +173,13 @@ subFields:
- name: variant
type: string
meta:
helperText:
de: "Definiert das visuelle Erscheinungsbild der aller Teaser-Informationen des Artikels."
en: "Defines the visual appearance of all teaser information of the article."
widget: select
label:
de: Erscheinungsbild
en: Appearance
de: Teaser Erscheinungsbild
en: Teaser Layout
defaultValue: default
choices:
- { id: "top", name: { de: "Artikelbild oben", en: "Article picture top" } }