actus home; fixes #2493

This commit is contained in:
Bachir Soussi Chiadmi 2024-01-08 11:54:56 +01:00
parent f1f41ed3fe
commit 7cb3a64a1d
5 changed files with 211 additions and 13 deletions

View File

@ -14,11 +14,117 @@ dependencies:
- node.type.actualite - node.type.actualite
module: module:
- datetime_range - datetime_range
- field_group
- file - file
- image - image
- link - link
- path - path
- text - text
third_party_settings:
field_group:
group_details:
children:
- field_type_d_actualite
- field_date
- status
- promote
- path
label: Details
region: content
parent_name: ''
weight: 5
format_type: details_sidebar
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: true
weight: 0
group_tabs:
children:
- group_texte
- group_image
- group_liens
- group_media
label: Tabs
region: content
parent_name: ''
weight: 4
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
direction: horizontal
width_breakpoint: 640
group_liens:
children:
- field_lien
label: Liens
region: content
parent_name: group_tabs
weight: 22
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_media:
children:
- field_pieces_jointes
label: 'Pièces jointes'
region: content
parent_name: group_tabs
weight: 23
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_texte:
children:
- body
label: Texte
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_image:
children:
- field_image
label: Image
region: content
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
id: node.actualite.default id: node.actualite.default
targetEntityType: node targetEntityType: node
bundle: actualite bundle: actualite
@ -36,13 +142,13 @@ content:
third_party_settings: { } third_party_settings: { }
field_date: field_date:
type: daterange_default type: daterange_default
weight: 2 weight: 4
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_image: field_image:
type: image_image type: image_image
weight: 4 weight: 5
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
@ -50,7 +156,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_lien: field_lien:
type: link_default type: link_default
weight: 6 weight: 7
region: content region: content
settings: settings:
placeholder_url: '' placeholder_url: ''
@ -58,7 +164,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_pieces_jointes: field_pieces_jointes:
type: file_generic type: file_generic
weight: 7 weight: 8
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
@ -83,20 +189,20 @@ content:
third_party_settings: { } third_party_settings: { }
path: path:
type: path type: path
weight: 10 weight: 7
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
promote: promote:
type: boolean_checkbox type: boolean_checkbox
weight: 9 weight: 6
region: content region: content
settings: settings:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 8 weight: 5
region: content region: content
settings: settings:
display_label: true display_label: true

View File

@ -10,9 +10,95 @@ dependencies:
- image.style.thumbnail - image.style.thumbnail
- node.type.partenaire - node.type.partenaire
module: module:
- field_group
- image - image
- link - link
- text - text
third_party_settings:
field_group:
group_details:
children:
- status
- field_poids
label: Details
region: content
parent_name: ''
weight: 7
format_type: details_sidebar
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: true
weight: 0
group_tabs:
children:
- group_logo
- group_lien
- group_texte
label: Tabs
region: content
parent_name: ''
weight: 1
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
direction: horizontal
width_breakpoint: 640
group_texte:
children:
- body
label: Texte
region: content
parent_name: group_tabs
weight: 22
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_lien:
children:
- field_lien
label: Lien
region: hidden
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_logo:
children:
- field_logo
label: Logo
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
id: node.partenaire.default id: node.partenaire.default
targetEntityType: node targetEntityType: node
bundle: partenaire bundle: partenaire
@ -20,7 +106,7 @@ mode: default
content: content:
body: body:
type: text_textarea_with_summary type: text_textarea_with_summary
weight: 3 weight: 4
region: content region: content
settings: settings:
rows: 9 rows: 9
@ -30,7 +116,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_lien: field_lien:
type: link_default type: link_default
weight: 2 weight: 3
region: content region: content
settings: settings:
placeholder_url: '' placeholder_url: ''
@ -38,7 +124,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_logo: field_logo:
type: image_image type: image_image
weight: 1 weight: 2
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
@ -46,14 +132,14 @@ content:
third_party_settings: { } third_party_settings: { }
field_poids: field_poids:
type: number type: number
weight: 4 weight: 7
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 5 weight: 6
region: content region: content
settings: settings:
display_label: true display_label: true

View File

@ -12,7 +12,7 @@ type: link
settings: { } settings: { }
module: link module: link
locked: false locked: false
cardinality: -1 cardinality: 1
translatable: true translatable: true
indexes: { } indexes: { }
persist_with_no_fields: false persist_with_no_fields: false

View File

@ -31,6 +31,7 @@ permissions:
- 'access files overview' - 'access files overview'
- 'access site in maintenance mode' - 'access site in maintenance mode'
- 'access toolbar' - 'access toolbar'
- 'administer nodes'
- 'administer site configuration' - 'administer site configuration'
- 'administer users' - 'administer users'
- 'break content lock' - 'break content lock'
@ -44,6 +45,7 @@ permissions:
- 'edit any equipe content' - 'edit any equipe content'
- 'edit any partenaire content' - 'edit any partenaire content'
- 'edit any static content' - 'edit any static content'
- 'edit own actualite content'
- 'edit terms in type_dactus' - 'edit terms in type_dactus'
- 'execute entity:save_action menu_link_content' - 'execute entity:save_action menu_link_content'
- 'execute entity:save_action node' - 'execute entity:save_action node'
@ -64,5 +66,6 @@ permissions:
- 'revert static revisions' - 'revert static revisions'
- 'update content translations' - 'update content translations'
- 'use text format wysiwyg' - 'use text format wysiwyg'
- 'view actualite revisions'
- 'view static revisions' - 'view static revisions'
- 'view the administration theme' - 'view the administration theme'

View File

@ -26,6 +26,7 @@ permissions:
- 'access content overview' - 'access content overview'
- 'access site in maintenance mode' - 'access site in maintenance mode'
- 'access toolbar' - 'access toolbar'
- 'administer nodes'
- 'break content lock' - 'break content lock'
- 'create actualite content' - 'create actualite content'
- 'create equipe content' - 'create equipe content'
@ -35,6 +36,7 @@ permissions:
- 'edit any equipe content' - 'edit any equipe content'
- 'edit any partenaire content' - 'edit any partenaire content'
- 'edit any static content' - 'edit any static content'
- 'edit own actualite content'
- 'edit terms in type_dactus' - 'edit terms in type_dactus'
- 'execute entity:save_action menu_link_content' - 'execute entity:save_action menu_link_content'
- 'execute entity:save_action node' - 'execute entity:save_action node'
@ -48,5 +50,6 @@ permissions:
- 'revert partenaire revisions' - 'revert partenaire revisions'
- 'revert static revisions' - 'revert static revisions'
- 'use text format wysiwyg' - 'use text format wysiwyg'
- 'view actualite revisions'
- 'view static revisions' - 'view static revisions'
- 'view the administration theme' - 'view the administration theme'