diff --git a/config/sync/core.entity_form_display.node.projet.default.yml b/config/sync/core.entity_form_display.node.projet.default.yml index c3b2d82..a685ca8 100644 --- a/config/sync/core.entity_form_display.node.projet.default.yml +++ b/config/sync/core.entity_form_display.node.projet.default.yml @@ -10,12 +10,15 @@ dependencies: - field.field.node.projet.field_liens - field.field.node.projet.field_neuf_rehabilitation - field.field.node.projet.field_partenaires + - field.field.node.projet.field_photo - field.field.node.projet.field_ressource_s_liee_s_ - field.field.node.projet.field_textes + - image.style.thumbnail - node.type.projet module: - field_group - file + - image - link - paragraphs third_party_settings: @@ -56,6 +59,7 @@ third_party_settings: label: Principal group_details: children: + - status - field_incube - field_neuf_rehabilitation - field_encours_fini @@ -64,13 +68,13 @@ third_party_settings: format_type: details_sidebar region: content format_settings: - show_empty_fields: false + description: '' + show_empty_fields: true + open: true + weight: -100 + required_fields: true id: '' classes: '' - description: '' - open: false - required_fields: true - weight: 0 label: Details group_liens: children: @@ -90,6 +94,7 @@ third_party_settings: label: Liens group_media: children: + - field_photo - field_fichiers parent_name: group_tabs weight: 18 @@ -109,20 +114,20 @@ bundle: projet mode: default content: field_encours_fini: - weight: 5 + weight: 3 settings: { } third_party_settings: { } type: options_select region: content field_fichiers: - weight: 4 + weight: 27 settings: progress_indicator: throbber third_party_settings: { } type: file_generic region: content field_incube: - weight: 3 + weight: 1 settings: display_label: true third_party_settings: { } @@ -137,7 +142,7 @@ content: type: link_default region: content field_neuf_rehabilitation: - weight: 4 + weight: 2 settings: { } third_party_settings: { } type: options_select @@ -154,6 +159,14 @@ content: third_party_settings: { } type: entity_reference_paragraphs region: content + field_photo: + weight: 26 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content field_ressource_s_liee_s_: weight: 4 settings: @@ -176,6 +189,13 @@ content: third_party_settings: { } type: entity_reference_paragraphs region: content + status: + type: boolean_checkbox + weight: 0 + region: content + settings: + display_label: true + third_party_settings: { } title: type: string_textfield weight: 0 @@ -190,7 +210,6 @@ hidden: langcode: true path: true promote: true - status: true sticky: true uid: true url_redirects: true diff --git a/config/sync/core.entity_view_display.node.projet.default.yml b/config/sync/core.entity_view_display.node.projet.default.yml index 5e57dc2..a80cca7 100644 --- a/config/sync/core.entity_view_display.node.projet.default.yml +++ b/config/sync/core.entity_view_display.node.projet.default.yml @@ -10,12 +10,14 @@ dependencies: - field.field.node.projet.field_liens - field.field.node.projet.field_neuf_rehabilitation - field.field.node.projet.field_partenaires + - field.field.node.projet.field_photo - field.field.node.projet.field_ressource_s_liee_s_ - field.field.node.projet.field_textes - node.type.projet module: - entity_reference_revisions - file + - image - link - manage_display - options @@ -85,6 +87,15 @@ content: third_party_settings: { } type: entity_reference_revisions_entity_view region: content + field_photo: + weight: 110 + label: above + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + region: content field_ressource_s_liee_s_: weight: 109 label: above diff --git a/config/sync/core.entity_view_display.node.projet.teaser.yml b/config/sync/core.entity_view_display.node.projet.teaser.yml index 1d40621..fdb75c7 100644 --- a/config/sync/core.entity_view_display.node.projet.teaser.yml +++ b/config/sync/core.entity_view_display.node.projet.teaser.yml @@ -11,49 +11,58 @@ dependencies: - field.field.node.projet.field_liens - field.field.node.projet.field_neuf_rehabilitation - field.field.node.projet.field_partenaires + - field.field.node.projet.field_photo - field.field.node.projet.field_ressource_s_liee_s_ - field.field.node.projet.field_textes + - image.style.large - node.type.projet module: + - image - manage_display - - text id: node.projet.teaser targetEntityType: node bundle: projet mode: teaser content: - body: + field_incube: + type: boolean + weight: 2 + region: content label: hidden - type: text_summary_or_trimmed - weight: 101 settings: - trim_length: 600 + format: custom + format_custom_true: 'Projet Incubé' + format_custom_false: '' third_party_settings: { } + field_photo: + type: image + weight: 0 region: content - links: - weight: 100 - settings: { } + label: hidden + settings: + image_style: large + image_link: content third_party_settings: { } - region: content title: label: hidden type: title - weight: -50 + weight: 1 region: content settings: tag: h2 linked: true third_party_settings: { } hidden: + body: true created: true field_encours_fini: true field_fichiers: true - field_incube: true field_liens: true field_neuf_rehabilitation: true field_partenaires: true field_ressource_s_liee_s_: true field_textes: true langcode: true + links: true search_api_excerpt: true uid: true diff --git a/config/sync/field.field.node.projet.field_photo.yml b/config/sync/field.field.node.projet.field_photo.yml new file mode 100644 index 0000000..21ca123 --- /dev/null +++ b/config/sync/field.field.node.projet.field_photo.yml @@ -0,0 +1,48 @@ +uuid: 9bf14568-3fbf-457d-a4ec-a404f5ded473 +langcode: fr +status: true +dependencies: + config: + - field.storage.node.field_photo + - node.type.projet + module: + - content_translation + - image +third_party_settings: + content_translation: + translation_sync: + alt: alt + title: title + file: '0' +id: node.projet.field_photo +field_name: field_photo +entity_type: node +bundle: projet +label: Photo +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'png gif jpg jpeg' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: true + alt_field_required: true + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + caption: '' + caption_field: 0 + caption_field_required: 0 + handler: 'default:file' + handler_settings: { } +field_type: image diff --git a/config/sync/page_manager.page_variant.projets-panels_variant-0.yml b/config/sync/page_manager.page_variant.projets-panels_variant-0.yml index 226a1bf..3b674bc 100644 --- a/config/sync/page_manager.page_variant.projets-panels_variant-0.yml +++ b/config/sync/page_manager.page_variant.projets-panels_variant-0.yml @@ -4,9 +4,11 @@ status: true dependencies: config: - page_manager.page.projets + - views.view.projets module: - config_pages - panels + - views id: projets-panels_variant-0 label: Panels variant: panels_variant @@ -23,6 +25,17 @@ variant_settings: config_page_type: les_projets config_page_view_mode: full context_mapping: { } + 7d84722e-f334-4132-a068-73fc79a93e42: + id: 'views_block:projets-block_1' + label: '' + provider: views + label_display: '0' + views_label: '' + items_per_page: none + region: content + weight: 0 + uuid: 7d84722e-f334-4132-a068-73fc79a93e42 + context_mapping: { } id: panels_variant uuid: 9244b6e6-bde7-458b-a02b-61d09880e795 label: null diff --git a/config/sync/views.view.projets.yml b/config/sync/views.view.projets.yml new file mode 100644 index 0000000..672d10c --- /dev/null +++ b/config/sync/views.view.projets.yml @@ -0,0 +1,431 @@ +uuid: 0b3d7d29-12d9-4b2c-b36a-1a4537f2adc5 +langcode: fr +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - node.type.projet + module: + - better_exposed_filters + - node + - options + - user +id: projets +label: Projets +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + display_plugin: default + id: default + display_title: Default + position: 0 + display_options: + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: bef + options: + submit_button: Apply + reset_button: true + reset_button_label: Réinitialer + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + text_input_required: 'Sélectionnez n''importe quel filtre et cliquez sur Appliquer pour voir les résultats' + text_input_required_format: wysiwyg + bef: + general: + autosubmit: false + autosubmit_exclude_textfield: false + autosubmit_textfield_delay: 500 + autosubmit_hide: false + input_required: false + allow_secondary: false + secondary_label: 'Options avancées' + secondary_open: false + filter: + field_incube_value: + plugin_id: bef_single + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + field_neuf_rehabilitation_value: + plugin_id: bef + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + select_all_none: false + select_all_none_nested: false + display_inline: true + field_encours_fini_value: + plugin_id: bef + advanced: + sort_options: false + rewrite: + filter_rewrite_values: '' + collapsible: false + is_secondary: false + select_all_none: false + select_all_none_nested: false + display_inline: true + pager: + type: none + options: + items_per_page: null + offset: 0 + style: + type: default + row: + type: 'entity:node' + options: + view_mode: teaser + fields: + title: + id: title + table: node_field_data + field: title + entity_type: node + entity_field: title + label: '' + alter: + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + settings: + link_to_entity: true + plugin_id: field + relationship: none + group_type: group + admin_label: '' + exclude: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_alter_empty: true + click_sort_column: value + type: string + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + filters: + status: + value: '1' + table: node_field_data + field: status + plugin_id: boolean + entity_type: node + entity_field: status + id: status + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + group: 1 + type: + id: type + table: node_field_data + field: type + value: + projet: projet + entity_type: node + entity_field: type + plugin_id: bundle + expose: + operator_limit_selection: false + operator_list: { } + group: 1 + field_incube_value: + id: field_incube_value + table: node__field_incube + field: field_incube_value + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '0' + group: 1 + exposed: true + expose: + operator_id: '' + label: 'Projets Incubés' + description: '' + use_operator: false + operator: field_incube_value_op + operator_limit_selection: false + operator_list: { } + identifier: field_incube_value + required: true + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + admin: '0' + root: '0' + user: '0' + editeur: '0' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: boolean + field_neuf_rehabilitation_value: + id: field_neuf_rehabilitation_value + table: node__field_neuf_rehabilitation + field: field_neuf_rehabilitation_value + relationship: none + group_type: group + admin_label: '' + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: field_neuf_rehabilitation_value_op + label: Neuf/Réhabilitation + description: '' + use_operator: false + operator: field_neuf_rehabilitation_value_op + operator_limit_selection: false + operator_list: { } + identifier: field_neuf_rehabilitation_value + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + admin: '0' + root: '0' + user: '0' + editeur: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + plugin_id: list_field + field_encours_fini_value: + id: field_encours_fini_value + table: node__field_encours_fini + field: field_encours_fini_value + relationship: none + group_type: group + admin_label: '' + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: field_encours_fini_value_op + label: Encours/Fini + description: '' + use_operator: false + operator: field_encours_fini_value_op + operator_limit_selection: false + operator_list: { } + identifier: field_encours_fini_value + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + admin: '0' + root: '0' + user: '0' + editeur: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + plugin_id: list_field + sorts: { } + title: Projets + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + filter_groups: + operator: AND + groups: + 1: AND + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { } + block_1: + display_plugin: block + id: block_1 + display_title: 'Projets Block' + position: 1 + display_options: + display_extenders: + views_ef_fieldset: + views_ef_fieldset: + enabled: 0 + options: + sort: + root: + container_type: details + title: Filtres + description: '' + open: '1' + weight: '0' + id: root + pid: '' + depth: '0' + type: container + field_incube_value: + weight: '-8' + id: field_incube_value + pid: root + depth: '1' + type: filter + field_neuf_rehabilitation_value: + weight: '-8' + id: field_neuf_rehabilitation_value + pid: root + depth: '1' + type: filter + field_encours_fini_value: + weight: '-8' + id: field_encours_fini_value + pid: root + depth: '1' + type: filter + submit: + weight: '-8' + id: submit + pid: root + depth: '1' + type: buttons + container-0: + container_type: details + title: 'Container 0' + description: '' + weight: '-7' + open: 0 + id: container-0 + pid: root + depth: '1' + type: container + container-1: + container_type: details + title: 'Container 1' + description: '' + weight: '-6' + open: 0 + id: container-1 + pid: root + depth: '1' + type: container + container-2: + container_type: details + title: 'Container 2' + description: '' + weight: '-5' + open: 0 + id: container-2 + pid: root + depth: '1' + type: container + container-3: + container_type: details + title: 'Container 3' + description: '' + weight: '-4' + open: 0 + id: container-3 + pid: root + depth: '1' + type: container + display_description: '' + block_description: 'Projets block' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: { }