diff --git a/config/sync/config_pages.type.deroulement.yml b/config/sync/config_pages.type.deroulement.yml index 006c859..eb07645 100644 --- a/config/sync/config_pages.type.deroulement.yml +++ b/config/sync/config_pages.type.deroulement.yml @@ -3,7 +3,7 @@ langcode: fr status: true dependencies: { } id: deroulement -label: Déroulement +label: Calendrier token: true context: show_warning: true diff --git a/config/sync/core.entity_form_display.config_pages.deroulement.default.yml b/config/sync/core.entity_form_display.config_pages.deroulement.default.yml index eb09684..8c07693 100644 --- a/config/sync/core.entity_form_display.config_pages.deroulement.default.yml +++ b/config/sync/core.entity_form_display.config_pages.deroulement.default.yml @@ -4,17 +4,26 @@ status: true dependencies: config: - config_pages.type.deroulement + - field.field.config_pages.deroulement.field_calendrier - field.field.config_pages.deroulement.field_phase module: + - file - paragraphs id: config_pages.deroulement.default targetEntityType: config_pages bundle: deroulement mode: default content: + field_calendrier: + type: file_generic + weight: 0 + region: content + settings: + progress_indicator: throbber + third_party_settings: { } field_phase: type: paragraphs - weight: 0 + weight: 1 region: content settings: title: Paragraphe diff --git a/config/sync/core.entity_form_display.node.partenaire.default.yml b/config/sync/core.entity_form_display.node.partenaire.default.yml index 1be750c..f150d08 100644 --- a/config/sync/core.entity_form_display.node.partenaire.default.yml +++ b/config/sync/core.entity_form_display.node.partenaire.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.node.partenaire.body + - field.field.node.partenaire.field_groupe - field.field.node.partenaire.field_lien - field.field.node.partenaire.field_logo - field.field.node.partenaire.field_poid @@ -19,6 +20,7 @@ third_party_settings: field_group: group_details: children: + - field_groupe - field_poid - langcode - translation @@ -57,6 +59,12 @@ content: region: content settings: { } third_party_settings: { } + field_groupe: + type: options_select + weight: 131 + region: content + settings: { } + third_party_settings: { } field_lien: type: link_default weight: 2 @@ -75,14 +83,14 @@ content: third_party_settings: { } field_poid: type: number - weight: 26 + weight: 132 region: content settings: placeholder: '' third_party_settings: { } langcode: type: language_select - weight: 27 + weight: 133 region: content settings: include_locked: true @@ -100,6 +108,16 @@ content: settings: display_label: true third_party_settings: { } + simple_sitemap: + weight: 10 + region: content + settings: { } + third_party_settings: { } + simple_sitemap_index_now: + weight: 130 + region: content + settings: { } + third_party_settings: { } status: type: boolean_checkbox weight: 10 @@ -123,7 +141,7 @@ content: placeholder: '' third_party_settings: { } translation: - weight: 28 + weight: 134 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_view_display.config_pages.deroulement.default.yml b/config/sync/core.entity_view_display.config_pages.deroulement.default.yml index 5571332..158c80e 100644 --- a/config/sync/core.entity_view_display.config_pages.deroulement.default.yml +++ b/config/sync/core.entity_view_display.config_pages.deroulement.default.yml @@ -4,14 +4,24 @@ status: true dependencies: config: - config_pages.type.deroulement + - field.field.config_pages.deroulement.field_calendrier - field.field.config_pages.deroulement.field_phase module: - entity_reference_revisions + - file id: config_pages.deroulement.default targetEntityType: config_pages bundle: deroulement mode: default content: + field_calendrier: + type: file_default + label: visually_hidden + settings: + use_description_as_link_text: true + third_party_settings: { } + weight: 1 + region: content field_phase: type: entity_reference_revisions_entity_view label: visually_hidden diff --git a/config/sync/core.entity_view_display.node.partenaire.default.yml b/config/sync/core.entity_view_display.node.partenaire.default.yml index c86619e..2ecc4f1 100644 --- a/config/sync/core.entity_view_display.node.partenaire.default.yml +++ b/config/sync/core.entity_view_display.node.partenaire.default.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.field.node.partenaire.body + - field.field.node.partenaire.field_groupe - field.field.node.partenaire.field_lien - field.field.node.partenaire.field_logo - field.field.node.partenaire.field_poid @@ -66,6 +67,7 @@ content: region: content hidden: created: true + field_groupe: true field_poid: true langcode: true links: true diff --git a/config/sync/core.entity_view_display.node.partenaire.teaser.yml b/config/sync/core.entity_view_display.node.partenaire.teaser.yml index 81ac2a6..33fec7c 100644 --- a/config/sync/core.entity_view_display.node.partenaire.teaser.yml +++ b/config/sync/core.entity_view_display.node.partenaire.teaser.yml @@ -5,13 +5,14 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.partenaire.body + - field.field.node.partenaire.field_groupe - field.field.node.partenaire.field_lien - field.field.node.partenaire.field_logo - field.field.node.partenaire.field_poid - node.type.partenaire module: + - manage_display - text - - user id: node.partenaire.teaser targetEntityType: node bundle: partenaire @@ -30,9 +31,21 @@ content: third_party_settings: { } weight: 100 region: content + title: + type: title + label: hidden + settings: + link_to_entity: true + tag: h2 + third_party_settings: { } + weight: -49 + region: content hidden: + created: true + field_groupe: true field_lien: true field_logo: true field_poid: true langcode: true search_api_excerpt: true + uid: true diff --git a/config/sync/field.field.config_pages.deroulement.field_calendrier.yml b/config/sync/field.field.config_pages.deroulement.field_calendrier.yml new file mode 100644 index 0000000..477d1c4 --- /dev/null +++ b/config/sync/field.field.config_pages.deroulement.field_calendrier.yml @@ -0,0 +1,27 @@ +uuid: f4dd9d74-d587-429d-8829-c6adfe75badd +langcode: fr +status: true +dependencies: + config: + - config_pages.type.deroulement + - field.storage.config_pages.field_calendrier + module: + - file +id: config_pages.deroulement.field_calendrier +field_name: field_calendrier +entity_type: config_pages +bundle: deroulement +label: Calendrier +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:file' + handler_settings: { } + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'pdf doc docx odt zip' + max_filesize: '' + description_field: true +field_type: file diff --git a/config/sync/field.field.node.partenaire.field_groupe.yml b/config/sync/field.field.node.partenaire.field_groupe.yml new file mode 100644 index 0000000..1f3f675 --- /dev/null +++ b/config/sync/field.field.node.partenaire.field_groupe.yml @@ -0,0 +1,23 @@ +uuid: 0f7a744a-3785-4679-bbc9-26b1f105dd59 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_groupe + - node.type.partenaire + module: + - options +id: node.partenaire.field_groupe +field_name: field_groupe +entity_type: node +bundle: partenaire +label: Groupe +description: '' +required: false +translatable: false +default_value: + - + value: les_partenaires +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/sync/field.storage.config_pages.field_calendrier.yml b/config/sync/field.storage.config_pages.field_calendrier.yml new file mode 100644 index 0000000..be98df1 --- /dev/null +++ b/config/sync/field.storage.config_pages.field_calendrier.yml @@ -0,0 +1,23 @@ +uuid: c0e6c8e1-8cf9-4f99-8c83-bd0a8cca4419 +langcode: fr +status: true +dependencies: + module: + - config_pages + - file +id: config_pages.field_calendrier +field_name: field_calendrier +entity_type: config_pages +type: file +settings: + target_type: file + display_field: false + display_default: false + uri_scheme: public +module: file +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.node.field_groupe.yml b/config/sync/field.storage.node.field_groupe.yml new file mode 100644 index 0000000..9136aca --- /dev/null +++ b/config/sync/field.storage.node.field_groupe.yml @@ -0,0 +1,27 @@ +uuid: 0923f73f-8dd2-4a1d-9079-ea0cd126d3b1 +langcode: fr +status: true +dependencies: + module: + - node + - options +id: node.field_groupe +field_name: field_groupe +entity_type: node +type: list_string +settings: + allowed_values: + - + value: les_ministeres + label: 'Les ministères' + - + value: les_partenaires + label: 'Les partenaires' + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/page_manager.page_variant.node_view-panels_variant-0.yml b/config/sync/page_manager.page_variant.node_view-panels_variant-0.yml index f342e4e..964d1a4 100644 --- a/config/sync/page_manager.page_variant.node_view-panels_variant-0.yml +++ b/config/sync/page_manager.page_variant.node_view-panels_variant-0.yml @@ -64,19 +64,19 @@ variant_settings: 0f521934-a0b6-49c7-9dd0-b984c8d80ef3: id: 'entity_field:node:field_documents' label: Documents - label_display: visible + label_display: '0' provider: ctools_block context_mapping: entity: node formatter: type: file_default weight: 0 - label: above + label: visually_hidden settings: use_description_as_link_text: true third_party_settings: { } - region: first - weight: -3 + region: third + weight: -5 uuid: 0f521934-a0b6-49c7-9dd0-b984c8d80ef3 css_classes: - '' @@ -100,8 +100,8 @@ variant_settings: rel: nofollow target: _blank third_party_settings: { } - region: first - weight: -2 + region: third + weight: -4 uuid: caf72351-9011-41f0-9bf1-d12eb70903c7 css_classes: - '' @@ -135,7 +135,7 @@ variant_settings: provider: q2d_mod context_mapping: { } region: third - weight: 0 + weight: -6 uuid: 585c2156-c9db-4940-8382-0744350facf6 css_classes: - '' @@ -148,7 +148,7 @@ variant_settings: provider: q2d_mod context_mapping: { } region: first - weight: -4 + weight: -10 uuid: f3919785-5a3a-4926-9de5-e63613bcba52 css_classes: - '' diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index 606cffe..4f74e97 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -13,6 +13,7 @@ dependencies: - actions_permissions - block_content - config_pages + - content_lock - content_translation - file - filter @@ -35,6 +36,7 @@ permissions: - 'access toolbar' - 'administer nodes' - 'administer users' + - 'break content lock' - 'change own username' - 'clone actualite content' - 'clone partenaire content' diff --git a/config/sync/user.role.editeur.yml b/config/sync/user.role.editeur.yml index 2329451..ce9b99e 100644 --- a/config/sync/user.role.editeur.yml +++ b/config/sync/user.role.editeur.yml @@ -11,6 +11,7 @@ dependencies: module: - actions_permissions - config_pages + - content_lock - content_translation - filter - locale @@ -28,6 +29,7 @@ permissions: - 'access site in maintenance mode' - 'access toolbar' - 'administer nodes' + - 'break content lock' - 'clone site content' - 'create actualite content' - 'create content translations' diff --git a/config/sync/views.view.partenaires.yml b/config/sync/views.view.partenaires.yml index 525d63b..eef4103 100644 --- a/config/sync/views.view.partenaires.yml +++ b/config/sync/views.view.partenaires.yml @@ -4,10 +4,12 @@ status: true dependencies: config: - core.entity_view_mode.node.full + - field.storage.node.field_groupe - node.type.partenaire - system.menu.footer module: - node + - options - user id: partenaires label: Partenaires @@ -25,32 +27,48 @@ display: display_options: title: 'Les partenaires' fields: - title: - id: title - table: node_field_data - field: title + field_groupe: + id: field_groupe + table: node__field_groupe + field: field_groupe relationship: none group_type: group admin_label: '' - entity_type: node - entity_field: title plugin_id: field label: '' exclude: false alter: alter_text: false + text: '' make_link: false + path: '' absolute: false - word_boundary: false - ellipsis: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' strip_tags: false trim: false + preserve_tags: '' html: false element_type: '' element_class: '' element_label_type: '' element_label_class: '' - element_label_colon: true + element_label_colon: false element_wrapper_type: '' element_wrapper_class: '' element_default_classes: true @@ -59,9 +77,8 @@ display: empty_zero: false hide_alter_empty: true click_sort_column: value - type: string - settings: - link_to_entity: true + type: list_default + settings: { } group_column: value group_columns: { } group_rows: true @@ -148,6 +165,15 @@ display: partenaire: partenaire style: type: default + options: + grouping: + - + field: field_groupe + rendered: true + rendered_strip: false + row_class: '' + default_row_class: true + uses_fields: true row: type: 'entity:node' options: @@ -163,7 +189,19 @@ display: relationships: { } header: { } footer: { } - display_extenders: { } + display_extenders: + matomo: + enabled: false + keyword_gets: '' + keyword_behavior: first + keyword_concat_separator: ' ' + category_behavior: none + category_gets: '' + category_concat_separator: ' ' + category_fallback: '' + category_facets: { } + category_facets_concat_separator: ', ' + simple_sitemap_display_extender: { } cache_metadata: max-age: -1 contexts: @@ -171,7 +209,8 @@ display: - 'languages:language_interface' - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:field.storage.node.field_groupe' page_1: id: page_1 display_title: Page @@ -209,4 +248,5 @@ display: - 'languages:language_interface' - 'user.node_grants:view' - user.permissions - tags: { } + tags: + - 'config:field.storage.node.field_groupe' diff --git a/config/sync/views.view.sites.yml b/config/sync/views.view.sites.yml index d05e62d..cc2f481 100644 --- a/config/sync/views.view.sites.yml +++ b/config/sync/views.view.sites.yml @@ -28,7 +28,7 @@ display: display_plugin: default position: 0 display_options: - title: 'Les 10 sites sélectionnés' + title: 'Les 10 sites de projet' fields: field_images: id: field_images