Browse Source

added 'projets laureats' custom block on project's page header

bach 3 years ago
parent
commit
31a7b19948

+ 20 - 5
config/sync/page_manager.page_variant.node_view-panels_variant-5.yml

@@ -4,7 +4,10 @@ status: true
 dependencies:
   config:
     - page_manager.page.node_view
+  content:
+    - 'block_content:custom:bfb4368c-4f85-4329-88f1-8769161aa66f'
   module:
+    - block_content
     - ctools_block
     - node
     - panels
@@ -33,7 +36,7 @@ variant_settings:
           link_to_entity: false
         third_party_settings: {  }
       region: top
-      weight: -1
+      weight: -3
       uuid: 21184124-a8f7-47b3-9c10-6110cee4bf40
     65f4dea8-4e39-4b7f-b0ed-bb44cd6c5408:
       id: 'entity_field:node:field_incube'
@@ -52,7 +55,7 @@ variant_settings:
           format_custom_true: 'Projet Incubé'
         third_party_settings: {  }
       region: top
-      weight: 0
+      weight: -1
       uuid: 65f4dea8-4e39-4b7f-b0ed-bb44cd6c5408
     1830fb68-c077-4ca2-980d-dcdd2b58e2f0:
       id: 'entity_field:node:field_photo'
@@ -70,7 +73,7 @@ variant_settings:
           image_style: wide
         third_party_settings: {  }
       region: top
-      weight: 1
+      weight: 0
       uuid: 1830fb68-c077-4ca2-980d-dcdd2b58e2f0
     3a53029a-0a36-4016-84ac-f3aa2234157b:
       id: 'entity_field:node:field_adresse'
@@ -86,7 +89,7 @@ variant_settings:
         settings: {  }
         third_party_settings: {  }
       region: top
-      weight: -2
+      weight: -4
       uuid: 3a53029a-0a36-4016-84ac-f3aa2234157b
     546d9b96-4449-4105-aa1e-b41def9932ec:
       id: 'entity_field:node:field_textes'
@@ -209,8 +212,20 @@ variant_settings:
           link_to_entity: false
         third_party_settings: {  }
       region: top
-      weight: 0
+      weight: -2
       uuid: d216ccea-12d4-43ff-8031-0c1d935abd08
+    2d1c164f-da0a-4cfd-a142-87ad98f98066:
+      id: 'block_content:bfb4368c-4f85-4329-88f1-8769161aa66f'
+      label: 'Projets lauréats'
+      label_display: '0'
+      provider: block_content
+      status: true
+      info: ''
+      view_mode: full
+      context_mapping: {  }
+      region: top
+      weight: -5
+      uuid: 2d1c164f-da0a-4cfd-a142-87ad98f98066
   page_title: ''
   layout: layout_threecol_25_50_25
   layout_settings:

+ 13 - 0
config/sync/structure_sync.data.yml

@@ -292,6 +292,19 @@ menus:
     langcode: fr
     uuid: 4d296aca-5316-4106-828a-01624ca7853e
 blocks:
+  -
+    info: 'Projets lauréats'
+    langcode: fr
+    uuid: bfb4368c-4f85-4329-88f1-8769161aa66f
+    bundle: custom
+    revision_id: null
+    rev_id_current: null
+    fields:
+      body:
+        -
+          value: "<p>Projets Lauréats</p>\r\n"
+          summary: ''
+          format: wysiwyg
   -
     info: 'Projets incubés link'
     langcode: fr