modifs backoffice : contenu page 'gouvernance' passe sur la page 'contact' / rework du st

ore 'content'
This commit is contained in:
Valentin Le Moign 2025-01-20 18:34:00 +01:00
parent c4d5cf6c9e
commit f575ae894f
84 changed files with 732 additions and 686 deletions

View File

@ -19,6 +19,7 @@
"drupal/color_pickr": "^1.1",
"drupal/config_pages": "^2.16",
"drupal/config_rewrite": "^1.6",
"drupal/content_type_clone": "^1.1",
"drupal/core-composer-scaffold": "^10.2",
"drupal/core-project-message": "^10.2",
"drupal/core-recommended": "^10.2",

47
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "0ccc2ef3bb28a73314a7566ef1d73a5d",
"content-hash": "06879b846031f4f705cc93ea8f4f2f7d",
"packages": [
{
"name": "asm89/stack-cors",
@ -2984,6 +2984,51 @@
"source": "https://git.drupalcode.org/project/content_lock"
}
},
{
"name": "drupal/content_type_clone",
"version": "dev-1.x",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/content_type_clone.git",
"reference": "5aacadebc30bb93b56ffd8eb76378daf4613b57e"
},
"require": {
"drupal/core": "^8 || ^9 || ^10"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.1+1-dev",
"datestamp": "1709187221",
"security-coverage": {
"status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "David Fiaty",
"homepage": "https://www.drupal.org/user/3448299"
},
{
"name": "venugopp",
"homepage": "https://www.drupal.org/user/2628911"
}
],
"description": "Allows to clone content types from a simple link added to each content type in the content type list",
"homepage": "https://www.drupal.org/project/content_type_clone",
"support": {
"source": "https://git.drupalcode.org/project/content_type_clone"
}
},
{
"name": "drupal/context",
"version": "5.0.0-rc1",

View File

@ -16,7 +16,7 @@ provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label: "Fils d'ariane"
label_display: '0'
provider: system
visibility: { }

View File

@ -16,7 +16,7 @@ provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
label: 'Contenu de la page principale'
label_display: '0'
provider: system
visibility: { }

View File

@ -16,7 +16,7 @@ provider: null
plugin: user_login_block
settings:
id: user_login_block
label: 'User login'
label: 'Connexion utilisateur'
label_display: visible
provider: user
visibility: { }

View File

@ -16,7 +16,7 @@ provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
label: 'Messages de statut'
label_display: '0'
provider: system
visibility: { }

View File

@ -4,6 +4,7 @@ langcode: fr
maxlength_block_class_field: 255
field_type: multiple_textfields
default_case: standard
block_classes_stored: { }
enable_attributes: true
enable_auto_complete: true
qty_classes_per_block: 10
@ -15,7 +16,7 @@ weight_attributes: 0
weight_class: 0
weight_id: 0
filter_html_clean_css_identifier: ''
maxlength_attributes: 0
maxlength_attributes: 255
maxlength_id: 255
attribute_keys_stored: '[]'
attribute_value_stored: '[]'

View File

@ -1,9 +1,9 @@
uuid: 86c7ea1e-a93e-4ddf-9887-e1f302a99ea9
uuid: b0c240c8-beea-4be3-96b8-6543b6734b25
langcode: fr
status: true
dependencies: { }
id: intro_partenaires
label: 'Intro partenaires'
id: intro_partenaire
label: 'intro partenaire'
token: false
context:
show_warning: true
@ -12,6 +12,6 @@ context:
fallback:
language: ''
menu:
path: /edit/partenaires
path: /edit/partenaire
weight: 0
description: ''

View File

@ -1,13 +1,13 @@
uuid: 83ba5ce9-056a-4c77-8b23-0801dc5eca3b
uuid: 44571b11-4b1d-4cd7-978a-8e88e80901f2
langcode: fr
status: true
dependencies:
config:
- node.type.equipe
id: node.equipe.promote
- node.type.gouvernance
id: node.gouvernance.promote
field_name: promote
entity_type: node
bundle: equipe
bundle: gouvernance
label: "Promu en page d'accueil"
description: ''
required: false

View File

@ -5,6 +5,7 @@ dependencies:
config:
- config_pages.type.intro_gouvernance
- field.field.config_pages.intro_gouvernance.field_intro
- field.field.config_pages.intro_gouvernance.field_titre
module:
- text
id: config_pages.intro_gouvernance.default
@ -14,11 +15,19 @@ mode: default
content:
field_intro:
type: text_textarea
weight: 0
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_titre:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
label: true

View File

@ -0,0 +1,33 @@
uuid: c8c782e1-e597-4e4d-ac96-65142dbadedb
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_partenaire
- field.field.config_pages.intro_partenaire.field_intro
- field.field.config_pages.intro_partenaire.field_titre
module:
- text
id: config_pages.intro_partenaire.default
targetEntityType: config_pages
bundle: intro_partenaire
mode: default
content:
field_intro:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_titre:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
label: true

View File

@ -1,24 +0,0 @@
uuid: 03e534f2-ceae-4f84-89f2-a0f9997f8a9d
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_partenaires
- field.field.config_pages.intro_partenaires.field_intro
module:
- text
id: config_pages.intro_partenaires.default
targetEntityType: config_pages
bundle: intro_partenaires
mode: default
content:
field_intro:
type: text_textarea
weight: 0
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
hidden:
label: true

View File

@ -234,7 +234,7 @@ content:
autocomplete_route_name: autocomplete_deluxe.autocomplete
size: 60
selection_handler: default
limit: 10
match_limit: 10
min_length: 0
delimiter: ''
not_found_message_allow: false
@ -251,7 +251,7 @@ content:
autocomplete_route_name: autocomplete_deluxe.autocomplete
size: 60
selection_handler: default
limit: 10
match_limit: 10
min_length: 0
delimiter: ''
not_found_message_allow: false

View File

@ -1,16 +1,13 @@
uuid: 71b2f68b-0171-41db-ba52-664ecb84b433
langcode: fr
status: true
dependencies:
config:
- field.field.node.equipe.body
- field.field.node.equipe.field_personne_s
- field.field.node.equipe.field_poid
- node.type.equipe
- field.field.node.gouvernance.field_personne_s
- field.field.node.gouvernance.field_poid
- node.type.gouvernance
module:
- field_group
- paragraphs
- text
third_party_settings:
field_group:
group_details:
@ -31,21 +28,11 @@ third_party_settings:
description: ''
required_fields: true
weight: -100
id: node.equipe.default
id: node.gouvernance.default
targetEntityType: node
bundle: equipe
bundle: gouvernance
mode: default
content:
body:
type: text_textarea_with_summary
weight: 1
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
field_personne_s:
type: paragraphs
weight: 2

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: 5pE_4hurqtIlZN3XDi7eTo5RG13BMG0Rh9HYlRI3h8U
id: user.register
label: Register
label: "S'inscrire"
description: ''
targetEntityType: user
cache: true

View File

@ -5,6 +5,7 @@ dependencies:
config:
- config_pages.type.intro_gouvernance
- field.field.config_pages.intro_gouvernance.field_intro
- field.field.config_pages.intro_gouvernance.field_titre
module:
- text
id: config_pages.intro_gouvernance.default
@ -17,6 +18,14 @@ content:
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_titre:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:

View File

@ -0,0 +1,32 @@
uuid: a79b589c-3286-425b-b508-38744f9ebeb1
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_partenaire
- field.field.config_pages.intro_partenaire.field_intro
- field.field.config_pages.intro_partenaire.field_titre
module:
- text
id: config_pages.intro_partenaire.default
targetEntityType: config_pages
bundle: intro_partenaire
mode: default
content:
field_intro:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_titre:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true

View File

@ -1,23 +0,0 @@
uuid: ac925def-bc83-4add-a5c9-88bc02e771b5
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_partenaires
- field.field.config_pages.intro_partenaires.field_intro
module:
- text
id: config_pages.intro_partenaires.default
targetEntityType: config_pages
bundle: intro_partenaires
mode: default
content:
field_intro:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true

View File

@ -1,37 +0,0 @@
uuid: aef5e1f6-ce57-488c-bb21-1990e7123a67
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.equipe.body
- field.field.node.equipe.field_personne_s
- field.field.node.equipe.field_poid
- node.type.equipe
module:
- text
- user
id: node.equipe.teaser
targetEntityType: node
bundle: equipe
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 101
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
field_personne_s: true
field_poid: true
footnotes_group: true
langcode: true
search_api_excerpt: true

View File

@ -1,28 +1,19 @@
uuid: 6c5f13b3-2cff-4094-a335-ccc5c7163003
uuid: 68e12a61-14bc-467b-8214-891f4191e50a
langcode: fr
status: true
dependencies:
config:
- field.field.node.equipe.body
- field.field.node.equipe.field_personne_s
- field.field.node.equipe.field_poid
- node.type.equipe
- field.field.node.gouvernance.field_personne_s
- field.field.node.gouvernance.field_poid
- node.type.gouvernance
module:
- entity_reference_revisions
- text
- user
id: node.equipe.default
id: node.gouvernance.default
targetEntityType: node
bundle: equipe
bundle: gouvernance
mode: default
content:
body:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
field_personne_s:
type: entity_reference_revisions_entity_view
label: visually_hidden
@ -32,9 +23,13 @@ content:
third_party_settings: { }
weight: 1
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
field_poid: true
footnotes_group: true
langcode: true
links: true
search_api_excerpt: true

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: iukUENpf8CFvjZbGGacKX_Ges0-lU9z6zvsd32P6kbo
id: taxonomy_term.full
label: 'Taxonomy term page'
label: "Page d'un terme de taxonomie"
description: ''
targetEntityType: taxonomy_term
cache: true

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: ZbXunWS_xAvMZXFfinyvClDAb_RCVLt7gAzE3v16E-Q
id: user.full
label: 'User account'
label: 'Compte utilisateur'
description: ''
targetEntityType: user
cache: true

View File

@ -4,7 +4,6 @@ module:
actions_permissions: 0
address: 0
admin_toolbar: 0
admin_toolbar_links_access_filter: 0
advanced_text_formatter: 0
audiofield: 0
autocomplete_deluxe: 0
@ -133,10 +132,8 @@ module:
views: 10
paragraphs: 11
linked_field: 100
figli_starter_kit: 1000
theme:
seven: 0
adminimal_theme: 0
stark: 0
caravane: 0
profile: figli_starter_kit

View File

@ -0,0 +1,19 @@
uuid: 7c23eebd-3668-41da-8492-c96b01a543e6
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_gouvernance
- field.storage.config_pages.field_titre
id: config_pages.intro_gouvernance.field_titre
field_name: field_titre
entity_type: config_pages
bundle: intro_gouvernance
label: titre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -1,17 +1,17 @@
uuid: 52fa2fc6-d3ca-4fef-b91b-06be4145e8e3
uuid: 3035b470-e4d9-4807-acd6-24a09525f537
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_partenaires
- config_pages.type.intro_partenaire
- field.storage.config_pages.field_intro
- filter.format.wysiwyg
module:
- text
id: config_pages.intro_partenaires.field_intro
id: config_pages.intro_partenaire.field_intro
field_name: field_intro
entity_type: config_pages
bundle: intro_partenaires
bundle: intro_partenaire
label: Intro
description: ''
required: false

View File

@ -0,0 +1,19 @@
uuid: bbddf173-169d-4977-ba3f-d1ec9f5aa452
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_partenaire
- field.storage.config_pages.field_titre
id: config_pages.intro_partenaire.field_titre
field_name: field_titre
entity_type: config_pages
bundle: intro_partenaire
label: titre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -1,24 +0,0 @@
uuid: 09512770-b2ed-4ca1-a548-2f59f416c789
langcode: fr
status: true
dependencies:
config:
- field.storage.node.body
- node.type.equipe
module:
- text
id: node.equipe.body
field_name: body
entity_type: node
bundle: equipe
label: Présentation
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary

View File

@ -1,17 +1,17 @@
uuid: 8198a2fc-6ac0-4d39-b72f-55dbaf51fb10
uuid: e20cb992-a8bb-4a45-bbfb-89b11faa977d
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_personne_s
- node.type.equipe
- node.type.gouvernance
- paragraphs.paragraphs_type.personne
module:
- entity_reference_revisions
id: node.equipe.field_personne_s
id: node.gouvernance.field_personne_s
field_name: field_personne_s
entity_type: node
bundle: equipe
bundle: gouvernance
label: Personne(s)
description: ''
required: false

View File

@ -1,14 +1,14 @@
uuid: a1872697-2226-4008-a585-993279d18649
uuid: 97b09cda-71aa-497d-b4ea-39a51ec375aa
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_poid
- node.type.equipe
id: node.equipe.field_poid
- node.type.gouvernance
id: node.gouvernance.field_poid
field_name: field_poid
entity_type: node
bundle: equipe
bundle: gouvernance
label: Poid
description: ''
required: false

View File

@ -0,0 +1,21 @@
uuid: 63af9e36-6b2d-49ca-bec4-225ac47930a5
langcode: fr
status: true
dependencies:
module:
- config_pages
id: config_pages.field_titre
field_name: field_titre
entity_type: config_pages
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,11 +0,0 @@
uuid: 04893961-9641-44e5-8b17-4d5b0bbab8c9
langcode: fr
status: true
dependencies:
config:
- node.type.equipe
id: node.equipe
target_entity_type_id: node
target_bundle: equipe
default_langcode: site_default
language_alterable: false

View File

@ -6,3 +6,4 @@ tag_trim_method: beforeValue
use_maxlength: true
tag_trim_maxlength: { }
tag_scroll_max_height: ''
tag_trim_end: '|.,-:;/+&([{"'''

View File

@ -1,4 +1,4 @@
uuid: 6e81bafe-2667-41ed-aa55-4125cbe6e4ff
uuid: 6b65f3be-857c-4e0c-91dd-44ec5b1f5b4e
langcode: fr
status: true
dependencies:
@ -8,8 +8,8 @@ third_party_settings:
menu_ui:
available_menus: { }
parent: ''
name: Equipe
type: equipe
name: gouvernance
type: gouvernance
description: null
help: null
new_revision: true

View File

@ -1,3 +1,10 @@
allowed_menus:
account: account
admin: admin
devel: devel
footer: footer
main: main
tools: tools
output_values:
- key
- title

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: t43OqwzP3CTbcAagSsWKNy6KwMm_zShXo3c4-So6rQg
id: node_delete_action
label: 'Delete content'
label: 'Supprimer le contenu'
type: node
plugin: 'entity:delete_action:node'
configuration: { }

View File

@ -8,7 +8,7 @@ dependencies:
_core:
default_config_hash: 0vLpSGhoYOPeREkfW-7bDeJOwEfW3zeG3nUBwUgsKQI
id: node_edit_action
label: 'Edit content'
label: 'Modifier le contenu'
type: node
plugin: 'entity:edit_action:node'
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: sOb26JSy3fGpWkvR0WYN6_hMqj_6d1rvbvrkzp1yya0
id: node_make_sticky_action
label: 'Make content sticky'
label: 'Épingler un contenu en haut des listes'
type: node
plugin: node_make_sticky_action
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: lDM9mvIGAu8Sw8rt-uCO4Sr7yX5VPrDPxYcawkbKd6k
id: node_make_unsticky_action
label: 'Make content unsticky'
label: 'Retirer un contenu du haut des listes'
type: node
plugin: node_make_unsticky_action
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: N0RDBTqiK4dKoN4p4oW2j0SGWycdHyALUe9M-Ofp89U
id: node_promote_action
label: 'Promote content to front page'
label: "Promouvoir le contenu en page d'accueil"
type: node
plugin: node_promote_action
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: 2B9uF8NL5gutNKSdPRAhhAsDWFZZG1PJOBmx0aBGd_0
id: node_publish_action
label: 'Publish content'
label: 'Publier un contenu'
type: node
plugin: 'entity:publish_action:node'
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: LhdsoZPL_pFas2fjaAWue4zvrQ_tEVofLYtcNec-JGM
id: node_save_action
label: 'Save content'
label: 'Enregistrer un contenu'
type: node
plugin: 'entity:save_action:node'
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: JBptjnfuOMtsdKygklXxoOgeOCTMtQxlkymjnnj-cC0
id: node_unpromote_action
label: 'Remove content from front page'
label: "Retirer un contenu de la page d'accueil"
type: node
plugin: node_unpromote_action
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: C7X8h9FWlwkQ9y5mnU2JzgaZICAdc6HFbPVbhvjlAYE
id: node_unpublish_action
label: 'Unpublish content'
label: 'Dépublier un contenu'
type: node
plugin: 'entity:unpublish_action:node'
configuration: { }

View File

@ -10,7 +10,7 @@ dependencies:
_core:
default_config_hash: lno8QThS348UX-kaUsagJtCnuPHKLXYnTQiF_9HSDWA
id: pathauto_update_alias_node
label: 'Update URL alias'
label: "Mettre à jour l'alias d'URL"
type: node
plugin: pathauto_update_alias
configuration: { }

View File

@ -10,7 +10,7 @@ dependencies:
_core:
default_config_hash: x_ok_ZsfA4Xk4B_hVW3O4-3PcNoK57nXLz_Dlletidg
id: pathauto_update_alias_user
label: 'Update URL alias'
label: "Mettre à jour l'alias d'URL"
type: user
plugin: pathauto_update_alias
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: DoVt_VGgVLcDD4XmVbSFzr0K17SJy9imFiYusKkJBgY
id: taxonomy_term_publish_action
label: 'Publish taxonomy term'
label: 'Publier le terme de taxonomie'
type: taxonomy_term
plugin: 'entity:publish_action:taxonomy_term'
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: z2sNRM3ECa7FPCGnSNje_9SmZJQgwhD_6fG_L4Mr8zI
id: taxonomy_term_unpublish_action
label: 'Unpublish taxonomy term'
label: 'Dépublier le terme de taxonomie'
type: taxonomy_term
plugin: 'entity:unpublish_action:taxonomy_term'
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: DyypzTfThX10FFQw-399qPfEbLLyrhXgQrKPVsmAoJ4
id: user_block_user_action
label: 'Block the selected user(s)'
label: 'Bloquer le(s) utilisateur(s) sélectionné(s)'
type: user
plugin: user_block_user_action
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: nvrL9bFilzBvm2bjO9rQnFDpBA7dBBUjShSSt6NS-DU
id: user_cancel_user_action
label: 'Cancel the selected user account(s)'
label: "Annuler l'(les) utilisateur(s) sélectionné(s)"
type: user
plugin: user_cancel_user_action
configuration: { }

View File

@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: SPsUXsR3Rc8d1y3gewzaAKWa1ncea_ywXX3f7LTn7k0
id: user_unblock_user_action
label: 'Unblock the selected user(s)'
label: 'Débloquer le(s) utilisateur(s) sélectionné(s)'
type: user
plugin: user_unblock_user_action
configuration: { }

View File

@ -5,6 +5,6 @@ dependencies: { }
_core:
default_config_hash: M_Bh81osDyUQ4wV0GgU_NdBNqkzM87sLxjaCdFj9mnw
id: account
label: 'User account menu'
description: 'Links related to the active user account'
label: "Menu du compte de l'utilisateur"
description: 'Liens associés au compte utilisateur courant'
locked: true

View File

@ -6,5 +6,5 @@ _core:
default_config_hash: sapEi2YDGoI9yQIT_WgIV2vUdQ6DScH0V3fAyTadAL0
id: admin
label: Administration
description: 'Administrative task links'
description: "Liens des tâches d'administration"
locked: true

View File

@ -8,6 +8,6 @@ dependencies:
_core:
default_config_hash: 3V-l1uuTcyirYOGLPZV5HWaDfr02uEbWZJIwc8Byz-c
id: devel
label: Development
label: Développement
description: 'Links related to Devel module.'
locked: true

View File

@ -5,6 +5,6 @@ dependencies: { }
_core:
default_config_hash: 7yrlW5z9zdg2eBucB2GPqXKSMQfH9lSRSO4DbWF7AFc
id: footer
label: Footer
description: 'Site information links'
label: 'Pied de page'
description: "Liens d'informations sur le site"
locked: true

View File

@ -5,6 +5,6 @@ dependencies: { }
_core:
default_config_hash: Q2Ra3jfoIVk0f3SjxJX61byRQFVBAbpzYDQOiY-kno8
id: main
label: 'Main navigation'
description: 'Site section links'
label: 'Navigation principale'
description: 'Liens de section du site'
locked: true

View File

@ -5,6 +5,6 @@ dependencies: { }
_core:
default_config_hash: BCM-vV1zzRaLHN18dqAR_CuGOj8AFJvTx7BKl_8Gcxc
id: tools
label: Tools
description: 'User tool links, often added by modules'
label: Outils
description: "Liens outils de l'utilisateur, souvent ajoutés par des modules"
locked: true

View File

@ -3,20 +3,7 @@ _core:
langcode: fr
cancel_confirm:
subject: "Demande d'annulation du compte [user:display-name] sur [site:name]"
body: |-
[user:display-name],
A request to cancel your account has been made at [site:name].
You may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:
[user:cancel-url]
NOTE: The cancellation of your account is not reversible.
This link expires in one day and nothing will happen if it is not used.
-- [site:name] team
body: "[user:display-name]\r\n\r\nUne requête pour supprimer votre compte a été déposée sur [site:name].\r\n\r\nVous pouvez désormais supprimer votre compte sur [site:url-brief] en cliquant sur ce lien ou en copiant cette adresse dans un navigateur :\r\n\r\n[user:cancel-url]\r\n\r\nÀ noter : la suppression de votre compte n'est pas réversible.\r\n\r\nCe lien expire dans un délai d'une journée et rien ne se passera si vous ne l'utilisez pas.\r\n\r\n-- L'équipe de [site:name]"
password_reset:
subject: 'Modification des informations de connexion pour [user:display-name] sur [site:name]'
body: "[user:display-name],\r\n\r\nUne demande de réinitialisation de votre mot de passe pour votre compte a été faite sur [site:name].\r\n\r\nVous pouvez maintenant vous connecter en cliquant sur le lien ci-dessous ou en le copiant dans votre navigateur : \r\n\r\n[user:one-time-login-url]\r\n\r\nCe lien ne peut être utilisé qu'une seule fois pour vous connecter et vous mènera à la page pour changer votre mot de passe. Il expirera dans un jour et rien ne se passera s'il n'est pas utilisé.\r\n\r\n-- L'équipe de [site:name]"

View File

@ -12,12 +12,12 @@ dependencies:
_core:
default_config_hash: j5zLMOdJBqC0bMvSdth5UebkprJB8g_2FXHqhfpJzow
id: anonymous
label: 'Anonymous user'
label: 'Utilisateur anonyme'
weight: 0
is_admin: false
permissions:
- 'access content'
- 'restful get rest_menu_item'
- 'view intro_gouvernance config page entity'
- 'view intro_partenaires config page entity'
- 'view intro_partenaire config page entity'
- 'view media'

View File

@ -16,7 +16,7 @@ dependencies:
_core:
default_config_hash: dJ0L2DNSj5q6XVZAGsuVDpJTh5UeYkIPwKrUOOpr8YI
id: authenticated
label: 'Authenticated user'
label: 'Utilisateur authentifié'
weight: 1
is_admin: false
permissions:
@ -26,5 +26,4 @@ permissions:
- 'use text format simple'
- 'use text format wysiwyg'
- 'view intro_gouvernance config page entity'
- 'view intro_partenaires config page entity'
- 'view media'

View File

@ -6,7 +6,6 @@ dependencies:
- filter.format.footnote
- filter.format.simple
- filter.format.wysiwyg
- node.type.equipe
- node.type.etape
- node.type.gallerie_photo
- node.type.partenaire
@ -34,34 +33,28 @@ permissions:
- 'administer nodes'
- 'break content lock'
- 'change own username'
- 'create equipe content'
- 'create etape content'
- 'create gallerie_photo content'
- 'create partenaire content'
- 'create terms in saisons'
- 'create terms in thematiques'
- 'delete equipe revisions'
- 'delete etape revisions'
- 'delete gallerie_photo revisions'
- 'delete partenaire revisions'
- 'delete static revisions'
- 'delete terms in saisons'
- 'delete terms in thematiques'
- 'edit any equipe content'
- 'edit any etape content'
- 'edit any gallerie_photo content'
- 'edit any partenaire content'
- 'edit any static content'
- 'edit intro_gouvernance config page entity'
- 'edit intro_partenaires config page entity'
- 'edit own equipe content'
- 'edit own etape content'
- 'edit own gallerie_photo content'
- 'edit own partenaire content'
- 'edit own static content'
- 'edit terms in saisons'
- 'edit terms in thematiques'
- 'revert equipe revisions'
- 'revert etape revisions'
- 'revert gallerie_photo revisions'
- 'revert partenaire revisions'
@ -69,7 +62,6 @@ permissions:
- 'use text format footnote'
- 'use text format simple'
- 'use text format wysiwyg'
- 'view equipe revisions'
- 'view etape revisions'
- 'view gallerie_photo revisions'
- 'view partenaire revisions'

View File

@ -1,5 +1,6 @@
_core:
default_config_hash: fbROM54Y8G4Yfeq1G2NbNX6K9ovDAP55c7YM9dTaSWQ
langcode: fr
anonymous: Anonyme
verify_mail: false
notify:
@ -15,4 +16,3 @@ register: visitors
cancel_method: user_cancel_block
password_reset_timeout: 86400
password_strength: true
langcode: fr

View File

@ -10,20 +10,20 @@ dependencies:
_core:
default_config_hash: ko9GznzNBXHkuz09OCaBQ1YOSJYYjTY0TBpNV3WKnog
id: archive
label: Archive
label: Archiver
module: node
description: 'All content, by month.'
description: 'Tous les contenus, triés par mois.'
tag: default
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: 'Monthly archive'
title: 'Archive mensuelle'
fields: { }
pager:
type: mini
@ -38,19 +38,19 @@ display:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -189,7 +189,7 @@ display:
tags: { }
block_1:
id: block_1
display_title: Block
display_title: Bloc
display_plugin: block
position: 1
display_options:

View File

@ -8,20 +8,20 @@ dependencies:
_core:
default_config_hash: 3ELwBpDb9lzqW5-daqjZYsC5lNcwbDS_i_-LKba12Lw
id: content
label: Content
label: Contenu
module: node
description: 'Find and manage content.'
description: 'Trouver et gérer le contenu.'
tag: default
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: Content
title: Contenu
fields:
node_bulk_form:
id: node_bulk_form
@ -46,7 +46,7 @@ display:
entity_type: node
entity_field: title
plugin_id: field
label: Title
label: Titre
exclude: false
alter:
alter_text: false
@ -69,7 +69,7 @@ display:
entity_type: node
entity_field: type
plugin_id: field
label: 'Content type'
label: 'Type de contenu'
exclude: false
alter:
alter_text: false
@ -132,7 +132,7 @@ display:
entity_type: user
entity_field: name
plugin_id: field
label: Author
label: Auteur
exclude: false
alter:
alter_text: false
@ -150,7 +150,7 @@ display:
entity_type: node
entity_field: status
plugin_id: field
label: Status
label: État
exclude: false
alter:
alter_text: false
@ -163,8 +163,8 @@ display:
type: boolean
settings:
format: custom
format_custom_false: Unpublished
format_custom_true: Published
format_custom_false: 'Non publié'
format_custom_true: Publié
changed:
id: changed
table: node_field_data
@ -172,7 +172,7 @@ display:
entity_type: node
entity_field: changed
plugin_id: field
label: Updated
label: 'Mis à jour'
exclude: false
alter:
alter_text: false
@ -204,7 +204,7 @@ display:
group_type: group
admin_label: ''
plugin_id: entity_operations
label: Operations
label: Actions
exclude: false
alter:
alter_text: false
@ -252,17 +252,17 @@ display:
pagination_heading_level: h4
items_per_page: 50
tags:
next: 'Next '
previous: ' Previous'
first: First'
last: 'Last »'
next: 'Suivant '
previous: ' Précédent'
first: Premier'
last: 'Dernier »'
exposed_form:
type: basic
options:
submit_button: Filter
submit_button: Filtrer
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -279,7 +279,7 @@ display:
field: area_text_custom
plugin_id: text_custom
empty: true
content: 'No content available.'
content: 'Aucun contenu disponible.'
sorts: { }
arguments: { }
filters:
@ -299,7 +299,7 @@ display:
exposed: true
expose:
operator_id: title_op
label: Title
label: Titre
description: ''
use_operator: false
operator: title_op
@ -341,7 +341,7 @@ display:
exposed: true
expose:
operator_id: type_op
label: 'Content type'
label: 'Type de contenu'
description: ''
use_operator: false
operator: type_op
@ -384,7 +384,7 @@ display:
exposed: true
expose:
operator_id: ''
label: Status
label: État
description: ''
use_operator: false
operator: status_op
@ -398,7 +398,7 @@ display:
authenticated: authenticated
is_grouped: true
group_info:
label: 'Published status'
label: 'Statut de publication'
description: ''
identifier: status
optional: true
@ -409,11 +409,11 @@ display:
default_group_multiple: { }
group_items:
1:
title: Published
title: Publié
operator: '='
value: '1'
2:
title: Unpublished
title: 'Non publié'
operator: '='
value: '0'
langcode:
@ -432,7 +432,7 @@ display:
exposed: true
expose:
operator_id: langcode_op
label: Language
label: Langue
description: ''
use_operator: false
operator: langcode_op
@ -603,15 +603,15 @@ display:
path: admin/content/node
menu:
type: 'default tab'
title: Content
title: Contenu
description: ''
weight: -10
menu_name: admin
context: ''
tab_options:
type: normal
title: Content
description: 'Find and manage content'
title: Contenu
description: 'Trouver et gérer le contenu'
weight: -10
menu_name: admin
cache_metadata:

View File

@ -8,20 +8,20 @@ dependencies:
_core:
default_config_hash: YqZN5rc7XDQcFcInc8wkzuaHJmC5YvirhTmDcrarT6M
id: content_recent
label: 'Recent content'
label: 'Contenu récent'
module: node
description: 'Recent content.'
description: 'Contenu récent.'
tag: default
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: 'Recent content'
title: 'Contenu récent'
fields:
title:
id: title
@ -131,10 +131,10 @@ display:
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -155,7 +155,7 @@ display:
admin_label: ''
plugin_id: text_custom
empty: true
content: 'No content available.'
content: 'Aucun contenu disponible.'
tokenize: false
sorts:
changed:
@ -290,7 +290,7 @@ display:
required: true
use_more: false
use_more_always: false
use_more_text: More
use_more_text: Plus
link_display: '0'
link_url: ''
header: { }
@ -307,7 +307,7 @@ display:
tags: { }
block_1:
id: block_1
display_title: Block
display_title: Bloc
display_plugin: block
position: 1
display_options:

View File

@ -17,7 +17,7 @@ base_field: nid
display:
default:
id: default
display_title: Master
display_title: Principal
display_plugin: default
position: 0
display_options:
@ -33,7 +33,7 @@ display:
entity_type: node
entity_field: title
plugin_id: field
label: Title
label: Titre
exclude: false
alter:
alter_text: false
@ -80,7 +80,7 @@ display:
entity_type: node
entity_field: langcode
plugin_id: field
label: From
label: 'A partir de'
exclude: false
alter:
alter_text: false
@ -145,7 +145,7 @@ display:
admin_label: ''
entity_type: node
plugin_id: translation_views_target_language
label: To
label: À
exclude: false
alter:
alter_text: false
@ -248,7 +248,7 @@ display:
group_type: group
admin_label: ''
plugin_id: boolean
label: 'Translation status'
label: 'Statut de la traduction'
exclude: false
alter:
alter_text: true
@ -304,7 +304,7 @@ display:
admin_label: ''
entity_field: changed
plugin_id: date
label: Changed
label: Modifié
exclude: false
alter:
alter_text: false
@ -410,24 +410,24 @@ display:
tags:
next:
previous:
first: First'
last: 'Last »'
first: Premier'
last: 'Dernier »'
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
quantity: 9
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -473,7 +473,7 @@ display:
exposed: true
expose:
operator_id: langcode_op
label: 'Source language'
label: "Langue d'origine"
description: ''
use_operator: false
operator: langcode_op
@ -514,7 +514,7 @@ display:
exposed: false
expose:
operator_id: ''
label: 'Translation outdated'
label: 'Traduction périmée'
description: ''
use_operator: false
operator: content_translation_outdated_op
@ -632,7 +632,7 @@ display:
exposed: true
expose:
operator_id: ''
label: 'Translation status'
label: 'Statut de la traduction'
description: ''
use_operator: false
operator: translation_status_op

View File

@ -8,20 +8,20 @@ dependencies:
_core:
default_config_hash: ja1IXL3-eSj1lJFQKxyY6-b0yfBsQzvngMbe0J2F22w
id: files
label: Files
label: Fichiers
module: file
description: 'Find and manage files.'
description: 'Trouver et gérer les fichiers.'
tag: default
base_table: file_managed
base_field: fid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: Files
title: Fichiers
fields:
fid:
id: fid
@ -33,7 +33,7 @@ display:
entity_type: file
entity_field: fid
plugin_id: field
label: Fid
label: 'Identifiant (FID)'
exclude: true
alter:
alter_text: false
@ -66,7 +66,7 @@ display:
entity_type: file
entity_field: filename
plugin_id: field
label: Name
label: Nom
exclude: false
alter:
alter_text: false
@ -129,7 +129,7 @@ display:
entity_type: file
entity_field: filemime
plugin_id: field
label: 'MIME type'
label: 'Type MIME'
exclude: false
alter:
alter_text: false
@ -181,7 +181,7 @@ display:
entity_type: file
entity_field: filesize
plugin_id: field
label: Size
label: Taille
exclude: false
alter:
alter_text: false
@ -233,7 +233,7 @@ display:
entity_type: file
entity_field: status
plugin_id: field
label: Status
label: État
exclude: false
alter:
alter_text: false
@ -277,7 +277,7 @@ display:
type: boolean
settings:
format: custom
format_custom_false: Temporary
format_custom_false: Temporaire
format_custom_true: Permanent
created:
id: created
@ -289,7 +289,7 @@ display:
entity_type: file
entity_field: created
plugin_id: field
label: 'Upload date'
label: 'Date de transfert'
exclude: false
alter:
alter_text: false
@ -354,7 +354,7 @@ display:
entity_type: file
entity_field: changed
plugin_id: field
label: 'Changed date'
label: 'Date de modification'
exclude: false
alter:
alter_text: false
@ -417,7 +417,7 @@ display:
group_type: sum
admin_label: ''
plugin_id: numeric
label: 'Used in'
label: 'Utilisé dans'
exclude: false
alter:
alter_text: false
@ -475,7 +475,7 @@ display:
admin_label: ''
entity_type: file
plugin_id: entity_operations
label: Operations
label: Actions
exclude: false
alter:
alter_text: false
@ -526,23 +526,23 @@ display:
total_pages: 0
id: 0
tags:
next: 'Next '
previous: ' Previous'
next: 'Suivant '
previous: ' Précédent'
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
exposed_form:
type: basic
options:
submit_button: Filter
submit_button: Filtrer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -560,7 +560,7 @@ display:
field: area_text_custom
plugin_id: text_custom
empty: true
content: 'No files available.'
content: 'Aucun fichier disponible.'
sorts: { }
arguments: { }
filters:
@ -580,7 +580,7 @@ display:
exposed: true
expose:
operator_id: filemime_op
label: Filename
label: 'Nom du fichier'
description: ''
use_operator: false
operator: filename_op
@ -622,7 +622,7 @@ display:
exposed: true
expose:
operator_id: filemime_op
label: 'MIME type'
label: 'Type MIME'
description: ''
use_operator: false
operator: filemime_op
@ -664,7 +664,7 @@ display:
exposed: true
expose:
operator_id: status_op
label: Status
label: État
description: ''
use_operator: false
operator: status_op
@ -805,7 +805,7 @@ display:
tags: { }
page_1:
id: page_1
display_title: 'Files overview'
display_title: "Vue d'ensemble des fichiers"
display_plugin: page
position: 1
display_options:
@ -826,7 +826,7 @@ display:
path: admin/content/files
menu:
type: tab
title: Files
title: Fichiers
description: ''
weight: 0
menu_name: admin
@ -842,11 +842,11 @@ display:
tags: { }
page_2:
id: page_2
display_title: 'File usage'
display_title: 'Utilisation du fichier'
display_plugin: page
position: 2
display_options:
title: 'File usage'
title: 'Utilisation du fichier'
fields:
entity_label:
id: entity_label
@ -856,7 +856,7 @@ display:
group_type: group
admin_label: ''
plugin_id: entity_label
label: Entity
label: Entité
exclude: false
alter:
alter_text: false
@ -906,7 +906,7 @@ display:
group_type: group
admin_label: ''
plugin_id: standard
label: 'Entity type'
label: "Type d'entité"
exclude: false
alter:
alter_text: false
@ -955,7 +955,7 @@ display:
group_type: group
admin_label: ''
plugin_id: standard
label: 'Registering module'
label: 'Enregistrement du module'
exclude: false
alter:
alter_text: false
@ -1004,7 +1004,7 @@ display:
group_type: group
admin_label: ''
plugin_id: numeric
label: 'Use count'
label: "Nombre d'utilisations"
exclude: false
alter:
alter_text: false
@ -1062,16 +1062,16 @@ display:
total_pages: 0
id: 0
tags:
next: 'Next '
previous: ' Previous'
next: 'Suivant '
previous: ' Précédent'
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
empty: { }
arguments:
fid:
@ -1088,9 +1088,9 @@ display:
exception:
value: all
title_enable: false
title: All
title: Tout
title_enable: true
title: 'File usage information for {{ arguments.fid }}'
title: "Information d'utilisation du fichier {{ arguments.fid }}"
default_argument_type: fixed
default_argument_options:
argument: ''

View File

@ -11,16 +11,16 @@ dependencies:
_core:
default_config_hash: 6eeliKIydPjqyv5V__QqTfahvJMWkHjOVUUuUIdB1ik
id: frontpage
label: Frontpage
label: "Page d'accueil"
module: node
description: 'All content promoted to the front page.'
description: "Tout le contenu promu en page d'accueil."
tag: default
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
@ -35,26 +35,26 @@ display:
total_pages: 0
id: 0
tags:
next: 'Next '
previous: ' Previous'
first: First'
last: 'Last »'
next: 'Suivant '
previous: ' Précédent'
first: Premier'
last: 'Dernier »'
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
quantity: 9
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -76,7 +76,7 @@ display:
plugin_id: text_custom
label: ''
empty: true
content: 'No front page content has been created yet.<br/>Follow the <a target="_blank" href="https://www.drupal.org/docs/user_guide/en/index.html">User Guide</a> to start building your site.'
content: "Aucun contenu de page d'accueil n'a été créé pour l'instant. Suivre le <a href=\"https://www.drupal.org/fr/docs/user_guide/fr/index.html\">Guide utilisateur</a> pour démarrer la construction de votre site."
tokenize: false
node_listing_empty:
id: node_listing_empty
@ -99,7 +99,7 @@ display:
plugin_id: title
label: ''
empty: true
title: Welcome!
title: 'Bienvenue !'
sorts:
sticky:
id: sticky
@ -262,7 +262,7 @@ display:
tags: { }
feed_1:
id: feed_1
display_title: Feed
display_title: Flux
display_plugin: feed
position: 2
display_options:

View File

@ -12,14 +12,14 @@ _core:
id: glossary
label: Glossary
module: node
description: 'All content, by letter.'
description: 'Tous les contenus, triés par lettre.'
tag: default
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
@ -34,7 +34,7 @@ display:
entity_type: node
entity_field: title
plugin_id: field
label: Title
label: Titre
exclude: false
alter:
alter_text: false
@ -85,7 +85,7 @@ display:
entity_type: user
entity_field: name
plugin_id: field
label: Author
label: Auteur
exclude: false
alter:
alter_text: false
@ -137,7 +137,7 @@ display:
entity_type: node
entity_field: changed
plugin_id: field
label: 'Last update'
label: 'Dernière mise à jour'
exclude: false
alter:
alter_text: false
@ -205,19 +205,19 @@ display:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -387,7 +387,7 @@ display:
tags: { }
attachment_1:
id: attachment_1
display_title: Attachment
display_title: 'Élément joint'
display_plugin: attachment
position: 2
display_options:

View File

@ -1,20 +1,18 @@
uuid: d317b05a-5ba1-43bc-8c53-16de875a0752
uuid: 33b0d29e-f502-49d7-9965-4a20da8ad68a
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- node.type.equipe
- system.menu.main
content:
- 'config_pages:intro_gouvernance:7c0cf1e3-2e77-49f3-8091-c22b9fdd705a'
- node.type.gouvernance
- system.menu.admin
module:
- node
- rest
- serialization
- user
id: gouvernance
label: Gouvernance
label: gouvernance
module: views
description: ''
tag: ''
@ -113,21 +111,6 @@ display:
label: ''
field_identifier: ''
exposed: false
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
arguments: { }
filters:
status:
@ -149,7 +132,7 @@ display:
entity_field: type
plugin_id: bundle
value:
equipe: equipe
gouvernance: gouvernance
style:
type: default
row:
@ -175,7 +158,7 @@ display:
admin_label: ''
plugin_id: entity
empty: false
target: 7c0cf1e3-2e77-49f3-8091-c22b9fdd705a
target: f99db514-5d98-4f51-b14c-c4ced4afc8c5
view_mode: default
tokenize: true
bypass_access: false
@ -196,16 +179,12 @@ display:
position: 1
display_options:
display_extenders: { }
path: gouvernance
path: contacts
menu:
type: normal
title: Gouvernance
description: ''
weight: 5
expanded: false
menu_name: main
menu_name: admin
parent: ''
context: '0'
cache_metadata:
max-age: -1
contexts:

View File

@ -18,7 +18,7 @@ base_field: nid
display:
default:
id: default
display_title: Master
display_title: Principal
display_plugin: default
position: 0
display_options:
@ -33,7 +33,7 @@ display:
admin_label: ''
entity_type: node
plugin_id: node_bulk_form
label: 'Node operations bulk form'
label: 'Formulaire des opérations en masse sur les nœuds'
exclude: false
alter:
alter_text: false
@ -88,7 +88,7 @@ display:
entity_type: node
entity_field: title
plugin_id: field
label: Title
label: Titre
exclude: false
alter:
alter_text: false
@ -135,7 +135,7 @@ display:
entity_type: node
entity_field: type
plugin_id: field
label: 'Content type'
label: 'Type de contenu'
exclude: false
alter:
alter_text: false
@ -198,7 +198,7 @@ display:
group_type: group
admin_label: ''
plugin_id: date
label: 'Lock Date/Time'
label: 'Date / Heure du verrouillage'
exclude: false
alter:
alter_text: false
@ -322,7 +322,7 @@ display:
admin_label: ''
entity_type: node
plugin_id: entity_operations
label: Operations
label: Actions
exclude: false
alter:
alter_text: false
@ -375,24 +375,24 @@ display:
tags:
next:
previous:
first: First'
last: 'Last »'
first: Premier'
last: 'Dernier »'
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
quantity: 9
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -488,7 +488,7 @@ display:
exposed: true
expose:
operator_id: ''
label: 'Published status'
label: 'Statut de publication'
description: ''
use_operator: false
operator: status_op
@ -506,7 +506,7 @@ display:
administrator: '0'
is_grouped: true
group_info:
label: 'Published status'
label: 'Statut de publication'
description: ''
identifier: status
optional: true
@ -517,11 +517,11 @@ display:
default_group_multiple: { }
group_items:
1:
title: Published
title: Publié
operator: '='
value: '1'
2:
title: Unpublished
title: 'Non publié'
operator: '='
value: '0'
type:
@ -540,7 +540,7 @@ display:
exposed: true
expose:
operator_id: type_op
label: 'Content type'
label: 'Type de contenu'
description: ''
use_operator: false
operator: type_op
@ -585,7 +585,7 @@ display:
exposed: true
expose:
operator_id: title_op
label: Title
label: Titre
description: ''
use_operator: false
operator: title_op

View File

@ -22,7 +22,7 @@ base_field: id
display:
default:
id: default
display_title: Master
display_title: Principal
display_plugin: default
position: 1
display_options:
@ -137,7 +137,7 @@ display:
group_type: group
admin_label: ''
plugin_id: standard
label: Subject
label: Objet
exclude: false
alter:
alter_text: false
@ -186,7 +186,7 @@ display:
group_type: group
admin_label: ''
plugin_id: standard
label: From
label: 'A partir de'
exclude: false
alter:
alter_text: false
@ -235,7 +235,7 @@ display:
group_type: group
admin_label: ''
plugin_id: standard
label: To
label: À
exclude: false
alter:
alter_text: false
@ -285,26 +285,26 @@ display:
total_pages: null
id: 0
tags:
next: 'next '
previous: ' previous'
first: '« first'
last: 'last »'
next: "suivant\_"
previous: "\_précédent"
first: "«\_premier"
last: "dernier\_»"
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 20, 40, 60'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
quantity: 9
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc

View File

@ -6,8 +6,6 @@ dependencies:
- core.entity_view_mode.node.full
- node.type.partenaire
- system.menu.main
content:
- 'config_pages:intro_partenaires:c25a5c89-a3c0-4929-9c07-5c088a70109d'
module:
- node
- rest
@ -202,7 +200,7 @@ display:
type: normal
title: 'Les partenaires'
description: ''
weight: 4
weight: -48
expanded: false
menu_name: main
parent: ''
@ -225,7 +223,7 @@ display:
type: some
options:
offset: 0
items_per_page: 10
items_per_page: 0
style:
type: serializer
options:

View File

@ -11,16 +11,16 @@ dependencies:
_core:
default_config_hash: z9csC6m3M65M2JczdNul_lMUrVg8ZO66pbSq8jPCBKs
id: taxonomy_term
label: 'Taxonomy term'
label: 'Terme de taxonomie'
module: taxonomy
description: 'Content belonging to a certain taxonomy term.'
description: 'Contenu associé à un terme de taxonomie donné.'
tag: default
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
@ -38,19 +38,19 @@ display:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -103,7 +103,7 @@ display:
exception:
value: ''
title_enable: false
title: All
title: Tout
title_enable: true
title: '{{ arguments.tid }}'
default_argument_type: fixed
@ -261,7 +261,7 @@ display:
tags: { }
feed_1:
id: feed_1
display_title: Feed
display_title: Flux
display_plugin: feed
position: 2
display_options:

View File

@ -7,20 +7,20 @@ dependencies:
_core:
default_config_hash: njaZigMvB4ap21Fg_tQcJhWgYJCGNi49Z5rRL_N6RI0
id: user_admin_people
label: People
label: Personnes
module: user
description: 'Find and manage people interacting with your site.'
description: 'Trouver et gérer les personnes interagissant avec votre site.'
tag: default
base_table: users_field_data
base_field: uid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: People
title: Personnes
fields:
user_bulk_form:
id: user_bulk_form
@ -31,7 +31,7 @@ display:
admin_label: ''
entity_type: user
plugin_id: user_bulk_form
label: 'Bulk update'
label: 'Mise à jour en masse'
exclude: false
alter:
alter_text: false
@ -82,7 +82,7 @@ display:
entity_type: user
entity_field: name
plugin_id: field
label: Username
label: "Nom d'utilisateur"
exclude: false
alter:
alter_text: false
@ -134,7 +134,7 @@ display:
entity_type: user
entity_field: status
plugin_id: field
label: Status
label: État
exclude: false
alter:
alter_text: false
@ -178,8 +178,8 @@ display:
type: boolean
settings:
format: custom
format_custom_false: Blocked
format_custom_true: Active
format_custom_false: Bloqué
format_custom_true: Actif
roles_target_id:
id: roles_target_id
table: user__roles
@ -188,7 +188,7 @@ display:
group_type: group
admin_label: ''
plugin_id: user_roles
label: Roles
label: Rôles
exclude: false
alter:
alter_text: false
@ -241,7 +241,7 @@ display:
entity_type: user
entity_field: created
plugin_id: field
label: 'Member for'
label: 'Membre depuis'
exclude: false
alter:
alter_text: false
@ -297,7 +297,7 @@ display:
entity_type: user
entity_field: access
plugin_id: field
label: 'Last access'
label: 'Dernier accès'
exclude: false
alter:
alter_text: false
@ -340,8 +340,8 @@ display:
hide_alter_empty: true
type: timestamp_ago
settings:
future_format: '@interval hence'
past_format: '@interval ago'
future_format: 'Dans @interval'
past_format: 'Il y a @interval'
granularity: 2
operations:
id: operations
@ -352,7 +352,7 @@ display:
admin_label: ''
entity_type: user
plugin_id: entity_operations
label: Operations
label: Actions
exclude: false
alter:
alter_text: false
@ -467,26 +467,26 @@ display:
total_pages: 0
id: 0
tags:
next: 'Next '
previous: ' Previous'
first: First'
last: 'Last »'
next: 'Suivant '
previous: ' Précédent'
first: Premier'
last: 'Dernier »'
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
quantity: 9
exposed_form:
type: basic
options:
submit_button: Filter
submit_button: Filtrer
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -506,7 +506,7 @@ display:
admin_label: ''
plugin_id: text_custom
empty: true
content: 'No people available.'
content: "Personne n'est disponible."
tokenize: false
sorts:
created:
@ -540,7 +540,7 @@ display:
exposed: true
expose:
operator_id: combine_op
label: 'Name or email contains'
label: 'Nom ou courriel contenant'
description: ''
use_operator: false
operator: combine_op
@ -601,7 +601,7 @@ display:
administrator: '0'
is_grouped: true
group_info:
label: Status
label: État
description: ''
identifier: status
optional: true
@ -612,11 +612,11 @@ display:
default_group_multiple: { }
group_items:
1:
title: Active
title: Actif
operator: '='
value: '1'
2:
title: Blocked
title: Bloqué
operator: '='
value: '0'
roles_target_id:
@ -633,7 +633,7 @@ display:
exposed: true
expose:
operator_id: roles_target_id_op
label: Role
label: Rôle
description: ''
use_operator: false
operator: roles_target_id_op
@ -675,7 +675,7 @@ display:
exposed: true
expose:
operator_id: permission_op
label: Permission
label: Droit
description: ''
use_operator: false
operator: permission_op
@ -878,7 +878,7 @@ display:
show_admin_links: true
use_more: false
use_more_always: false
use_more_text: more
use_more_text: plus
link_display: page_1
link_url: ''
display_comment: ''
@ -906,15 +906,15 @@ display:
path: admin/people/list
menu:
type: 'default tab'
title: List
description: 'Find and manage people interacting with your site.'
title: Lister
description: 'Trouver et gérer les personnes interagissant avec votre site.'
weight: -10
menu_name: admin
context: ''
tab_options:
type: normal
title: People
description: 'Manage user accounts, roles, and permissions.'
title: Personnes
description: 'Gérer les comptes utilisateurs, les rôles et les droits.'
weight: 0
menu_name: admin
cache_metadata:

View File

@ -10,18 +10,18 @@ _core:
id: watchdog
label: Watchdog
module: views
description: 'Recent log messages'
description: 'Entrées récentes du journal'
tag: ''
base_table: watchdog
base_field: wid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: 'Recent log messages'
title: 'Entrées récentes du journal'
fields:
nothing:
id: nothing
@ -29,7 +29,7 @@ display:
field: nothing
relationship: none
group_type: group
admin_label: Icon
admin_label: Icône
plugin_id: custom
label: ''
exclude: false
@ -129,7 +129,7 @@ display:
group_type: group
admin_label: ''
plugin_id: machine_name
label: Severity
label: Importance
exclude: true
alter:
alter_text: false
@ -332,7 +332,7 @@ display:
entity_type: user
entity_field: name
plugin_id: field
label: User
label: Utilisateur
exclude: false
alter:
alter_text: false
@ -395,7 +395,7 @@ display:
group_type: group
admin_label: ''
plugin_id: dblog_operations
label: Operations
label: Actions
exclude: false
alter:
alter_text: false
@ -449,19 +449,19 @@ display:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Offset
offset_label: Décalage
exposed_form:
type: basic
options:
submit_button: Filter
submit_button: Filtrer
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: false
sort_asc_label: Asc
sort_desc_label: Desc
@ -479,10 +479,10 @@ display:
field: area_text_custom
relationship: none
group_type: group
admin_label: 'No log messages available.'
admin_label: "Aucune entrée du journal n'est disponible."
plugin_id: text_custom
empty: true
content: 'No log messages available.'
content: "Aucune entrée du journal n'est disponible."
tokenize: false
sorts:
wid:
@ -555,7 +555,7 @@ display:
exposed: true
expose:
operator_id: severity_op
label: Severity
label: Importance
description: ''
use_operator: false
operator: severity_op

View File

@ -7,20 +7,20 @@ dependencies:
_core:
default_config_hash: zji0_13MyVGK7Bn1lUMDeZyyOIZedWvqpYUeM_SioPI
id: who_s_new
label: "Who's new"
label: 'Nouveaux membres'
module: user
description: 'Shows a list of the newest user accounts on the site.'
description: 'Affiche la liste des utilisateurs les plus récents sur le site.'
tag: default
base_table: users_field_data
base_field: uid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: "Who's new"
title: 'Nouveaux membres'
fields:
name:
id: name
@ -64,10 +64,10 @@ display:
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -180,14 +180,14 @@ display:
tags: { }
block_1:
id: block_1
display_title: "Who's new"
display_title: 'Nouveaux membres'
display_plugin: block
position: 1
display_options:
display_description: 'A list of new users'
display_description: 'Une liste des nouveaux utilisateurs'
display_extenders: { }
block_description: "Who's new"
block_category: User
block_description: 'Nouveaux membres'
block_category: Utilisateur
cache_metadata:
max-age: -1
contexts:

View File

@ -7,20 +7,20 @@ dependencies:
_core:
default_config_hash: suDsVMgawXoQt4rfmdfpr05EVX3z3KyfDDTYgeSM898
id: who_s_online
label: "Who's online block"
label: 'Bloc "Qui est connecté"'
module: user
description: 'Shows the user names of the most recently active users, and the total number of active users.'
description: "Affiche les noms des utilisateurs les plus actifs récemment et le nombre total d'utilisateurs actifs."
tag: default
base_table: users_field_data
base_field: uid
display:
default:
id: default
display_title: Default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: "Who's online"
title: 'Utilisateurs en ligne'
fields:
name:
id: name
@ -64,10 +64,10 @@ display:
exposed_form:
type: basic
options:
submit_button: Apply
submit_button: Appliquer
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
@ -88,7 +88,7 @@ display:
admin_label: ''
plugin_id: text_custom
empty: true
content: 'There are currently 0 users online.'
content: 'Il y a actuellement 0 utilisateurs en ligne.'
tokenize: false
sorts:
access:
@ -142,8 +142,8 @@ display:
exposed: false
expose:
operator_id: access_op
label: 'Last access'
description: 'A user is considered online for this long after they have last viewed a page.'
label: 'Dernier accès'
description: "Durée pendant laquelle on considère qu'un utilisateur est en ligne après qu'il ait vu une page pour la dernière fois."
use_operator: false
operator: access_op
operator_limit_selection: false
@ -198,7 +198,7 @@ display:
admin_label: ''
plugin_id: result
empty: false
content: 'There are currently @total users online.'
content: 'Il y a actuellement @total utilisateurs en ligne.'
footer: { }
display_extenders: { }
cache_metadata:
@ -210,13 +210,13 @@ display:
tags: { }
who_s_online_block:
id: who_s_online_block
display_title: "Who's online"
display_title: 'Utilisateurs en ligne'
display_plugin: block
position: 1
display_options:
display_description: 'A list of users that are currently logged in.'
display_description: "Une liste d'utilisateurs actuellement connectés."
display_extenders: { }
block_description: "Who's online"
block_description: 'Utilisateurs en ligne'
cache_metadata:
max-age: -1
contexts:

View File

@ -18,6 +18,10 @@ export const useContentStore = defineStore('content', {
next: {},
vignette: {},
parties: [],
intro: '',
partenaires: [],
gouvernances: [],
},
loading: false,
error: null,
@ -25,48 +29,49 @@ export const useContentStore = defineStore('content', {
actions: {
async fetchContentData(path) {
this.resetStore(false);
const contentTypes = [ 'etape', 'static', 'equipe', 'partenaires' ];
const contentTypes = [ 'etape', 'static', 'gouvernance', 'partenaire' ];
try {
let rawContent,
contentType,
response;
contentTypesLoop:
const findContentByPath = async (contentTypes, path) => {
for (let type of contentTypes) {
if (type !== 'partenaires') {
response = await REST.get(`/jsonapi/node/${type}/`);
for (let content of response.data.data) {
for (let tag of content.attributes.metatag) {
if (tag.tag === "link" && tag.attributes.href === path) {
this.contentType = type;
rawContent = content;
contentType = type;
break contentTypesLoop;
}
}
// pour les pages équipes
if (!rawContent) {
const baseUrl = window.location.protocol + "//" + window.location.host;
if (path.startsWith(baseUrl)) {
const shortenPath = path.slice(baseUrl.length + 1);
if (content.attributes.title.toLowerCase() === shortenPath) {
this.contentType = type;
rawContent = content;
contentType = type;
break contentTypesLoop;
}
}
}
}
} else {
// pour les pages partenaires
rawContent = await REST.get('/rest/partenaires/');
contentType = type;
this.contentType = type;
}
}
const response = await REST.get(`/jsonapi/node/${type}/`);
if (this.contentType !== 'equipe' && this.contentType !== 'partenaires') {
// pageTitle
const content = response.data.data.find(content =>
content.attributes.metatag.some(tag =>
tag.tag === "link" && tag.attributes.href === path
)
);
if (content) {
return {
contentType: type,
rawContent: content,
};
}
// Handle special case for governance/partners (multiple items per page)
const pageRequested = window.location.href.split('/').pop().replace(/s?$/, '');
if (type === pageRequested
|| (type === 'gouvernance' && pageRequested === 'contact')
) {
return {
contentType: type,
rawContent: response.data.data,
};
}
}
return null;
};
const { contentType, rawContent } = await findContentByPath(contentTypes, path);
this.contentType = contentType;
// console.log(`current type: ${contentType}`);
if (this.contentType !== 'gouvernance' && this.contentType !== 'partenaire') {
// pageTitle
for (let tag of rawContent.attributes.metatag) {
if (tag.tag === "meta") {
this.pageTitle = tag.attributes.content;
@ -103,8 +108,8 @@ export const useContentStore = defineStore('content', {
end: this.getCleanDate(rawContent.attributes.field_dates.end_value),
}
// previous / next
await this.getRelatedEtape('previous', response.data.data, path);
await this.getRelatedEtape('next', response.data.data, path);
await this.getRelatedEtape('previous', path);
await this.getRelatedEtape('next', path);
}
// parties
@ -197,52 +202,59 @@ export const useContentStore = defineStore('content', {
this.content.parties.push(partieContent);
}
}
} else if (this.contentType === 'equipe') {
// pour les pages équipe
for (let tag of rawContent.attributes.metatag) {
if (tag.tag === "meta") {
this.pageTitle = tag.attributes.content;
break;
}
}
this.content.contentTitle = rawContent.attributes.title;
this.content.textIntro = rawContent.attributes.body.value;
const personnesArray = [];
const personnes = await this.fetchFromRelationships('field_personne_s', rawContent.relationships);
for (let personne of personnes) {
const fetchPortrait = await this.fetchFromRelationships('field_portrait', personne.relationships);
personnesArray.push({
nom: personne.attributes.field_nom,
prenom: personne.attributes.field_prenom,
description: personne.attributes.field_description,
portrait_alt: personne.relationships.field_portrait.data.meta.alt,
portrait_url: fetchPortrait.attributes.uri.url,
});
} else {
// pages gouvernance (contact) et partenaire
// ont plusieurs items par pages
const intro = await REST.get(`/jsonapi/config_pages/intro_${this.contentType}/`);
const introContent = intro.data.data[0];
this.pageTitle =
`${introContent.attributes.field_titre} ${introContent.attributes.metatag.find(tag => tag.tag === "meta")?.attributes.content}`;
this.content.contentTitle = introContent.attributes.field_titre;
this.content.intro = introContent.attributes.field_intro.value;
const multiItemPageArray = [];
if (this.contentType === 'partenaire') {
for (let item of rawContent) {
const logoFetch = await REST.get(item.relationships.field_logo.links.related.href);
multiItemPageArray.push({
title: item.attributes.title,
description: item.attributes.body.value,
weight: item.attributes.field_poid,
link_url: item.attributes.field_lien.uri ,
logo_alt: item.relationships.field_logo.data.meta.alt,
logo_url: logoFetch.data.data.attributes.uri.url,
});
}
} else if (this.contentType === 'gouvernance') {
for (let item of rawContent) {
const personnesFetch = await REST.get(item.relationships.field_personne_s.links.related.href);
let personnes = [];
for (let personne of personnesFetch.data.data) {
const portraitFetch = await REST.get(personne.relationships.field_portrait.links.related.href);
personnes.push({
nom: personne.attributes.field_nom,
prenom: personne.attributes.field_prenom,
description: personne.attributes.field_description,
photo_meta: personne.relationships.field_portrait.data?.meta.alt,
photo_url: portraitFetch.data.data?.attributes.uri.url,
});
}
multiItemPageArray.push({
title: item.attributes.title,
weight: item.attributes.field_poid,
personnes: personnes,
});
}
}
this.content.personnes = personnesArray;
this.content[`${this.contentType}s`] = multiItemPageArray;
// await this.fetchFromId(bundle, id);
// est peut-être plus lisible que fetchFromRelationships
} else if (this.contentType === 'partenaires') {
this.content.contentTitle = "Partenaires";
const partenairesArray = [];
for (let partenaire of rawContent.data) {
partenairesArray.push({
title: partenaire.title[0].value,
description: partenaire.body[0].value,
link_url: partenaire.field_lien[0].uri,
link_text: partenaire.field_lien[0].title,
logo_url: partenaire.field_logo[0].url,
logo_alt: partenaire.field_logo[0].alt,
weight: partenaire.field_poid[0].value,
})
}
this.content.partenaires = partenairesArray;
}
console.log(this.content);
}
} catch (error) {
this.error = 'Failed to fetch data';
console.error('Issue with getNodeData', error);
@ -257,56 +269,42 @@ export const useContentStore = defineStore('content', {
y: date.split('-')[0],
}
},
async getRelatedEtape(direction, allEtapesData, path) {
const getRelatedEtapeContent = async (relatedPath, allEtapesData) => {
const baseUrl = window.location.protocol + "//" + window.location.host;
for (let etape of allEtapesData) {
for (let tag of etape.attributes.metatag) {
if (tag.tag === "link" && tag.attributes.href === baseUrl + relatedPath) {
const vignetteFetch = await REST.get(etape.relationships.field_vignette.links.related.href);
this.content[direction] = {
url: tag.attributes.href,
couleur: etape.attributes.field_couleur,
title: etape.attributes.title,
postalCode: etape.attributes.field_adresse.postal_code,
dates: {
start: this.getCleanDate(etape.attributes.field_dates.value),
end: this.getCleanDate(etape.attributes.field_dates.end_value),
},
vignette: {
url: vignetteFetch.data.data.attributes.uri.url,
alt: etape.relationships.field_vignette.data.meta.alt,
},
}
async getRelatedEtape(direction, path) {
const getRelatedEtapeContent = async (relatedEtapeData) => {
if (relatedEtapeData) {
const vignetteFetch = await REST.get(relatedEtapeData.relationships.field_vignette.links.related.href);
if (vignetteFetch.data.data) {
this.content[direction] = {
url: relatedEtapeData.attributes.metatag.find(tag => tag.tag === "link")?.attributes.href,
couleur: relatedEtapeData.attributes.field_couleur,
title: relatedEtapeData.attributes.title,
postalCode: relatedEtapeData.attributes.field_adresse.postal_code,
dates: {
start: this.getCleanDate(relatedEtapeData.attributes.field_dates.value),
end: this.getCleanDate(relatedEtapeData.attributes.field_dates.end_value),
},
vignette: {
url: vignetteFetch.data.data.attributes.uri.url,
alt: relatedEtapeData.relationships.field_vignette.data.meta.alt,
},
}
}
}
}
// TODO :
// get the ordered view from here
// /jsonapi/views/etapes/block_1?views-argument%5B0%5D=all&views-argument%5B1%5D=all
const orderedEtapesList = document.querySelectorAll('#etapes-liste li');
if (orderedEtapesList) {
for (let li of orderedEtapesList) {
const liHref = li.querySelector('a').getAttribute('href');
if (path.endsWith(liHref)) {
const previousEtapeItemPath = li.previousElementSibling?.querySelector('a').getAttribute('href');
const nextEtapeItemPath = li.nextElementSibling?.querySelector('a').getAttribute('href');
if (previousEtapeItemPath && direction === 'previous') {
let prevContent = await getRelatedEtapeContent(previousEtapeItemPath, allEtapesData);
return prevContent;
}
if (nextEtapeItemPath && direction === 'next') {
let nextContent = await getRelatedEtapeContent(nextEtapeItemPath, allEtapesData);
return nextContent;
}
}
const allEtapesData = await REST.get('/jsonapi/views/etapes/block_1/');
for (let [index, etape] of allEtapesData.data.data.entries()) {
if (etape.attributes.metatag.some(tag =>
tag.tag === "link" && tag.attributes.href === path
)) {
const relatedEtapeIndex = direction === 'next' ? index + 1 : index - 1;
await getRelatedEtapeContent(allEtapesData.data.data[relatedEtapeIndex]);
}
}
},
async fetchFromRelationships(field, relationships) {
if (relationships[field].data) {
if (relationships[field].links) {
try {
const contentLink = relationships[field].links.related.href;
const contentFetch = await REST.get(contentLink);

View File

@ -5,8 +5,8 @@ export async function initFirstLoadRouting(store, router, baseUrl, siteName) {
const decoupled_origin = JSON.parse(window.localStorage.getItem('decoupled_origin'));
if(decoupled_origin) {
await store.fetchContentData(baseUrl + decoupled_origin.url);
router.push(decoupled_origin.url);
await store.fetchContentData(baseUrl + decoupled_origin.url);
window.localStorage.removeItem("decoupled_origin");
document.title = store.pageTitle;
setActiveNavItem(store.contentType, decoupled_origin.url);

View File

@ -6,8 +6,8 @@
<div v-if="!loading && (
contentType === 'etape'
|| contentType === 'static'
|| contentType === 'equipe'
|| contentType === 'partenaires'
|| contentType === 'gouvernance'
|| contentType === 'partenaire'
)">
<div class="content-wrapper">
<ModaleHeader
@ -44,10 +44,11 @@
:partie="partie" />
</div>
<EquipeContent
v-if="contentType === 'equipe'"
:content="content" />
v-if="contentType === 'gouvernance'"
:content="content"
:couleur="content.couleur || brandColor" />
<PartenairesContent
v-if="contentType === 'partenaires'"
v-if="contentType === 'partenaire'"
:content="content" />
</main>
<ModaleFooter

View File

@ -1,12 +1,24 @@
<template>
<div id="equipe">
<div v-html="content.textIntro"></div>
<div v-for="personne in content.personnes" class="personne">
<figure>
<img :src="personne.portrait_url" :alt="personne.portrait_alt">
</figure>
<div class="name"><p v-html="personne.prenom + ' ' + personne.nom"></p></div>
<div class="description"><p v-html="personne.description"></p></div>
<div v-if="content.intro" class="intro">
<p v-html="content.intro"></p>
</div>
<div v-for="equipe in content.gouvernances" class="equipe-item">
<div class="partie-title">
<h3>
<p
:style="{ background: `linear-gradient(transparent 70%, ${couleur} 70%)` }">
{{ equipe.title }}
</p>
</h3>
</div>
<div v-for="personne in equipe.personnes" class="personne">
<figure>
<img :src="personne.photo_url" :alt="personne.photo_alt">
</figure>
<div class="name"><p v-html="personne.prenom + ' ' + personne.nom"></p></div>
<div class="description"><p v-html="personne.description" style="white-space: pre-wrap;"></p></div>
</div>
</div>
</div>
</template>
@ -14,5 +26,6 @@
<script setup>
const props = defineProps({
content: Object,
couleur: String,
});
</script>

View File

@ -1,5 +1,5 @@
<template>
<header :style="content.vignette ? '' : { marginTop: '20vh' }">
<header :class="{ 'not-etape': contentType !== 'etape' }">
<div class="cover">
<img v-if="content.vignette" :src="content.vignette.url" :alt="content.vignette.alt">
</div>
@ -12,7 +12,7 @@
<div class="pattern"></div>
</div>
<div class="locality">
<div class="top-triangle"></div>
<div class="top-triangle" v-if="contentType === 'etape'"></div>
<div class="locality-title">
<h1>{{content.contentTitle}} <em v-if="content.adresse">({{ content.adresse.postal_code.slice(0, 2) }})</em></h1>
</div>

View File

@ -1,8 +1,13 @@
<template>
<div id="partenaires">
<div v-if="content.intro" class="intro">
<p v-html="content.intro"></p>
</div>
<div v-for="partenaire in content.partenaires" class="partenaire">
<figure>
<img :src="partenaire.logo_url" :alt="partenaire.logo_alt">
<a :href="partenaire.link_url" target="_blank">
<img :src="partenaire.logo_url" :alt="partenaire.logo_alt">
</a>
</figure>
<div class="title"><p v-html="partenaire.title"></p></div>
<div class="description"><p v-html="partenaire.description"></p></div>

View File

@ -913,13 +913,21 @@ body{
}
}
&.not-etape {
> .locality-wrapper {
> .locality {
max-height: $brand-pattern-height;
}
}
}
}
> main {
width: 100%;
padding: 0 $modale-x-padding;
padding-bottom: 5vh;
box-sizing: border-box;
> .partie {
> .partie,
> #equipe {
width: 100%;
display: inline-block;
> .sensible-map {
@ -942,7 +950,7 @@ body{
margin-left: calc($modale-x-padding / 2);
}
}
> .partie-title,
.partie-title,
> .chiffres-cles,
> .entretien {
> h3 {
@ -1092,25 +1100,34 @@ body{
}
> #equipe,
> #partenaires {
margin-top: 5vh;
> div:not(.personne) {
margin-top: 3vh;
> div.intro {
margin-bottom: 6vh;
@media screen and (min-width: $desktop-min-width) {
margin: 10vh 0;
}
}
> div.personne,
> div.equipe-item {
@media screen and (min-width: $desktop-min-width) {
margin-bottom: 7vh;
}
> .partie-title {
margin-bottom: 3vh;
}
}
> div.equipe-item > div.personne,
> div.partenaire {
display: grid;
grid-template-columns: 0.4fr 1fr;
column-gap: 3rem;
grid-template-rows: auto;
justify-items: start;
margin: 5vh 0;
margin-bottom: 6vh;
> figure {
grid-column: 1;
grid-row: 1 / span 2;
width: 100%;
margin: 0;
align-self: center;
> img {
aspect-ratio: 1 / 1;
border-radius: 50%;