62 Commits fa8d7c4347 ... fdea36a88f

Tác giả SHA1 Thông báo Ngày
  bach fdea36a88f Carrousel des Actus dans page accueil Programme, boolean promu 3 năm trước cách đây
  bach 4a79678b51 image quality in centre de ressource 3 năm trước cách đây
  bach 6caf928cdf Page d'une ressource ajouter collection a droite 3 năm trước cách đây
  bach e433e221e3 centre de ressources search also in auteurs field 3 năm trước cách đây
  bach 28f3e6e171 Back Office, Autorisation de supprimer des ressources 3 năm trước cách đây
  bach 2e1b9bc0ee ajouter champs texte dans paragraphe Équipe de page static pour rajouter téléphone et mail 3 năm trước cách đây
  bach c92c32e232 forgot config files from last core update 3 năm trước cách đây
  bach 6ea4404578 updated drupal/core-* to 9.4.5 3 năm trước cách đây
  bach 1c98a998e6 updated d8-starterkit-profile submodule 3 năm trước cách đây
  bach efddbd632c contribs modules security updates 3 năm trước cách đây
  bach 83f72a5862 allow plugins 3 năm trước cách đây
  armansansd ef6ec25234 #1852 3 năm trước cách đây
  bach ca240db095 #1931 3 năm trước cách đây
  bach 42adf284f7 #1931 3 năm trước cách đây
  bach 21991b0ea4 #1930 3 năm trước cách đây
  bach cb013e1927 #1915 3 năm trước cách đây
  bach 349a938b53 #1852 3 năm trước cách đây
  bach fcdaa2cce6 Merge branch 'master' of gogs-figureslibres.io:bachir/popsu-d9 3 năm trước cách đây
  bach 9f3b4210d1 programme hide field_fichier from second #1912 3 năm trước cách đây
  armansansd 36222b6130 #1913 3 năm trước cách đây
  armansansd eaf468c157 #1867 3 năm trước cách đây
  armansansd 2b0b816a8a #1687 3 năm trước cách đây
  armansansd 41ee053bc6 #1681 3 năm trước cách đây
  armansansd c61c6d39f5 #1869 3 năm trước cách đây
  armansansd 17e419f4f6 #1897 3 năm trước cách đây
  armansansd dd41e30f59 #1900 3 năm trước cách đây
  armansansd f3a17ada41 #1853 3 năm trước cách đây
  armansansd 7cce07831f #1868 3 năm trước cách đây
  armansansd df46511e50 #1903 3 năm trước cách đây
  armansansd c0631f5226 Merge branch 'master' of figureslibres.io:bachir/popsu-d9 3 năm trước cách đây
  armansansd 3d20968197 #1903 3 năm trước cách đây
  bach 4fe9b518c7 ressources format date #1866 3 năm trước cách đây
  bach eaab5b7c9f ressources format date #1866 3 năm trước cách đây
  bach e52501e62d date Évênements dans menu et dans page de l'évènement #1915 3 năm trước cách đây
  bach 63266e618c date Évênements dans menu et dans page de l'évènement #1915 3 năm trước cách đây
  bach 207e7919e7 date Évênements dans menu et dans page de l'évènement #1915 3 năm trước cách đây
  bach 1dff8a0b99 Merge branch 'master' of gogs-figureslibres.io:bachir/popsu-d9 3 năm trước cách đây
  bach db83f0ea35 page ressource affiché le sous-titre #1868 3 năm trước cách đây
  armansansd f309248ee5 #1927 3 năm trước cách đây
  armansansd 27aac6b763 #1918 3 năm trước cách đây
  armansansd 5cf7b225cc #1917 3 năm trước cách đây
  armansansd d1d95c3710 #1916 3 năm trước cách đây
  armansansd 074d94d571 #1914 3 năm trước cách đây
  armansansd eafae8991c #1913 3 năm trước cách đây
  armansansd 80068b3980 gMerge branch 'master' of figureslibres.io:bachir/popsu-d9 3 năm trước cách đây
  armansansd 2f0562f0dc #1911 3 năm trước cách đây
  bach fcf2937348 themes field equipe hide title #1852 3 năm trước cách đây
  bach 8241d135bc themes field equipe in main column #1852 3 năm trước cách đây
  bach 1b15433bae added site solgan 3 năm trước cách đây
  armansansd e284930687 #1902 3 năm trước cách đây
  armansansd 1df3113a60 #1901 3 năm trước cách đây
  armansansd a4fe26e416 #1900 3 năm trước cách đây
  armansansd 63168783a7 #1898 3 năm trước cách đây
  armansansd 632fecb716 #1899 3 năm trước cách đây
  armansansd c77738bf23 #1897 3 năm trước cách đây
  armansansd 963da608b5 #1869 3 năm trước cách đây
  armansansd dcd24a9cdf #1865 3 năm trước cách đây
  armansansd 7da0aec99a #1687 3 năm trước cách đây
  armansansd fded5af68d #1681 3 năm trước cách đây
  armansansd 47b5159777 fix composer vendor 3 năm trước cách đây
  armansansd 7308df01d6 conflict composer 3 năm trước cách đây
  armansansd 8bb1064a3b default services conflit ? 3 năm trước cách đây
81 tập tin đã thay đổi với 1964 bổ sung809 xóa
  1. 1 2
      .vscode/launch.json
  2. 12 1
      composer.json
  3. 191 291
      composer.lock
  4. 1 0
      config/sync/admin_toolbar.settings.yml
  5. 8 0
      config/sync/core.date_format.date_longue_sans_heure.yml
  6. 11 2
      config/sync/core.entity_form_display.node.actualite.default.yml
  7. 11 2
      config/sync/core.entity_form_display.node.evenement.default.yml
  8. 18 0
      config/sync/core.entity_form_display.paragraph.personne.default.yml
  9. 2 0
      config/sync/core.entity_view_display.block_content.logo_block.default.yml
  10. 13 0
      config/sync/core.entity_view_display.node.actualite.default.yml
  11. 4 0
      config/sync/core.entity_view_display.node.actualite.teaser.yml
  12. 2 0
      config/sync/core.entity_view_display.node.evenement.accroche_ss_image.yml
  13. 13 0
      config/sync/core.entity_view_display.node.evenement.default.yml
  14. 4 0
      config/sync/core.entity_view_display.node.evenement.teaser.yml
  15. 8 12
      config/sync/core.entity_view_display.node.programme.default.yml
  16. 2 0
      config/sync/core.entity_view_display.node.projet.default.yml
  17. 2 0
      config/sync/core.entity_view_display.node.projet.teaser.yml
  18. 2 0
      config/sync/core.entity_view_display.node.ressource.default.yml
  19. 2 0
      config/sync/core.entity_view_display.node.ressource.teaser.yml
  20. 4 0
      config/sync/core.entity_view_display.node.theme.default.yml
  21. 2 0
      config/sync/core.entity_view_display.node.theme.teaser.yml
  22. 2 0
      config/sync/core.entity_view_display.paragraph.doc_and_thumb.default.yml
  23. 2 0
      config/sync/core.entity_view_display.paragraph.partenaires.admin.yml
  24. 2 0
      config/sync/core.entity_view_display.paragraph.partenaires.default.yml
  25. 2 0
      config/sync/core.entity_view_display.paragraph.partenaires.preview.yml
  26. 20 0
      config/sync/core.entity_view_display.paragraph.personne.default.yml
  27. 2 0
      config/sync/core.entity_view_display.paragraph.textes.default.yml
  28. 9 0
      config/sync/core.entity_view_display.taxonomy_term.collection.default.yml
  29. 157 0
      config/sync/core.entity_view_display.taxonomy_term.collection.third_column.yml
  30. 10 0
      config/sync/core.entity_view_mode.taxonomy_term.third_column.yml
  31. 1 0
      config/sync/core.extension.yml
  32. 0 2
      config/sync/editor.editor.wysiwyg.yml
  33. 23 0
      config/sync/field.field.node.actualite.field_promu_en_page_programme.yml
  34. 23 0
      config/sync/field.field.node.evenement.field_promu_en_page_programme.yml
  35. 19 0
      config/sync/field.field.paragraph.personne.field_courriel.yml
  36. 21 0
      config/sync/field.field.paragraph.personne.field_telephone.yml
  37. 18 0
      config/sync/field.storage.node.field_promu_en_page_programme.yml
  38. 18 0
      config/sync/field.storage.paragraph.field_courriel.yml
  39. 19 0
      config/sync/field.storage.paragraph.field_telephone.yml
  40. 1 0
      config/sync/page_manager.page_variant.node-panels_variant-0.yml
  41. 1 1
      config/sync/page_manager.page_variant.node-panels_variant-1.yml
  42. 5 3
      config/sync/page_manager.page_variant.node-panels_variant-2.yml
  43. 4 4
      config/sync/page_manager.page_variant.node-panels_variant-3.yml
  44. 1 1
      config/sync/page_manager.page_variant.node-panels_variant-4.yml
  45. 50 13
      config/sync/page_manager.page_variant.node-panels_variant-5.yml
  46. 15 0
      config/sync/smart_date.smart_date_format.full_date_only.yml
  47. 15 0
      config/sync/smart_date.smart_date_format.moi_annee.yml
  48. 1 0
      config/sync/system.advisories.yml
  49. 1 0
      config/sync/system.rss.yml
  50. 1 1
      config/sync/system.site.yml
  51. 1 0
      config/sync/user.role.editeur.yml
  52. 3 1
      config/sync/views.view.actus_blocks.yml
  53. 71 1
      config/sync/views.view.admin_taxo.yml
  54. 7 1
      config/sync/views.view.centre_de_ressources.yml
  55. 501 0
      config/sync/views.view.collection.yml
  56. 14 0
      config/sync/views.view.content.yml
  57. 6 0
      config/sync/views.view.home_blocks.yml
  58. 2 0
      config/sync/views.view.home_themes.yml
  59. 47 3
      config/sync/views.view.programme_toc.yml
  60. 2 0
      config/sync/views.view.programmes.yml
  61. 1 0
      config/sync/views.view.taxonomy_term.yml
  62. 5 0
      web/.htaccess
  63. 28 3
      web/sites/default/default.settings.php
  64. 0 0
      web/themes/custom/popsu/assets/css/styles.min.css
  65. 0 0
      web/themes/custom/popsu/assets/js/main.js
  66. 68 17
      web/themes/custom/popsu/lib/script.js
  67. 2 2
      web/themes/custom/popsu/partials/header.html.twig
  68. 12 0
      web/themes/custom/popsu/popsu.theme
  69. 5 0
      web/themes/custom/popsu/sass/pages/_actu.scss
  70. 7 1
      web/themes/custom/popsu/sass/pages/_default.scss
  71. 21 0
      web/themes/custom/popsu/sass/pages/_home.scss
  72. 4 4
      web/themes/custom/popsu/sass/pages/_node-evenement-actu.scss
  73. 3 0
      web/themes/custom/popsu/sass/pages/_programme.scss
  74. 0 106
      web/themes/custom/popsu/sass/pages/_projet.scss
  75. 103 13
      web/themes/custom/popsu/sass/pages/_ressources.scss
  76. 163 295
      web/themes/custom/popsu/sass/pages/_themes.scss
  77. 5 0
      web/themes/custom/popsu/sass/pages/partials/_header_footer.scss
  78. 95 0
      web/themes/custom/popsu/sass/pages/partials/_villes_sidebar.scss
  79. 28 23
      web/themes/custom/popsu/sass/setup/_globals.scss
  80. 3 3
      web/themes/custom/popsu/sass/setup/_layouts.scss
  81. 1 1
      web/themes/custom/popsu/sass/styles.scss

+ 1 - 2
.vscode/launch.json

@@ -8,7 +8,6 @@
             "name": "Listen for Xdebug",
             "type": "php",
             "request": "launch",
-            "serverSourceRoot":"192.168.0.21"
             "port": 9001,
             "pathMappings": {
                 "/var/www/d9": "${workspaceFolder}"
@@ -23,4 +22,4 @@
             "port": 9001
         }
     ]
-}
+}

+ 12 - 1
composer.json

@@ -54,7 +54,15 @@
     "minimum-stability": "stable",
     "prefer-stable": true,
     "config": {
-        "sort-packages": true
+        "sort-packages": true,
+        "allow-plugins": {
+            "composer/installers": true,
+            "drupal/console-extend-plugin": true,
+            "cweagans/composer-patches": true,
+            "drupal/core-composer-scaffold": true,
+            "drupal/core-project-message": true,
+            "wikimedia/composer-merge-plugin": true
+        }
     },
     "extra": {
         "drupal-scaffold": {
@@ -136,6 +144,9 @@
           },
           "drupal/leaflet_more_maps": {
               "add cartodb maps to leaflet_more_maps": "./patches/leaflet_more_maps_cartodb.patch"
+          },
+          "drupal/ctools": {
+              "How to manually pass an argument to a views block through interface https://www.drupal.org/project/ctools/issues/2759445": "https://www.drupal.org/files/issues/2022-05-22/2759445-86.patch"
           }
         }
     }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 191 - 291
composer.lock


+ 1 - 0
config/sync/admin_toolbar.settings.yml

@@ -1 +1,2 @@
+langcode: fr
 menu_depth: 4

+ 8 - 0
config/sync/core.date_format.date_longue_sans_heure.yml

@@ -0,0 +1,8 @@
+uuid: a565b29e-b73e-4fd8-ac0b-0757bfab7320
+langcode: fr
+status: true
+dependencies: {  }
+id: date_longue_sans_heure
+label: 'Date longue sans heure'
+locked: false
+pattern: 'l j F Y'

+ 11 - 2
config/sync/core.entity_form_display.node.actualite.default.yml

@@ -12,6 +12,7 @@ dependencies:
     - field.field.node.actualite.field_memo
     - field.field.node.actualite.field_programme
     - field.field.node.actualite.field_projet
+    - field.field.node.actualite.field_promu_en_page_programme
     - field.field.node.actualite.field_ressources_liees
     - field.field.node.actualite.field_sous_titre
     - field.field.node.actualite.field_theme
@@ -29,6 +30,7 @@ third_party_settings:
     group_details:
       children:
         - promote
+        - field_promu_en_page_programme
         - status
         - field_memo
       label: Details
@@ -162,7 +164,7 @@ content:
     third_party_settings: {  }
   field_memo:
     type: string_textarea
-    weight: 17
+    weight: 18
     region: content
     settings:
       rows: 5
@@ -188,6 +190,13 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
+  field_promu_en_page_programme:
+    type: boolean_checkbox
+    weight: 16
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
   field_ressources_liees:
     type: entity_reference_autocomplete
     weight: 130
@@ -225,7 +234,7 @@ content:
     third_party_settings: {  }
   status:
     type: boolean_checkbox
-    weight: 16
+    weight: 17
     region: content
     settings:
       display_label: true

+ 11 - 2
config/sync/core.entity_form_display.node.evenement.default.yml

@@ -15,6 +15,7 @@ dependencies:
     - field.field.node.evenement.field_partenaires
     - field.field.node.evenement.field_programme
     - field.field.node.evenement.field_projet
+    - field.field.node.evenement.field_promu_en_page_programme
     - field.field.node.evenement.field_ressources_liees
     - field.field.node.evenement.field_sous_titre
     - field.field.node.evenement.field_theme
@@ -70,6 +71,7 @@ third_party_settings:
     group_details:
       children:
         - promote
+        - field_promu_en_page_programme
         - status
         - field_memo
       label: Details
@@ -208,7 +210,7 @@ content:
     third_party_settings: {  }
   field_memo:
     type: string_textarea
-    weight: 17
+    weight: 18
     region: content
     settings:
       rows: 5
@@ -255,6 +257,13 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
+  field_promu_en_page_programme:
+    type: boolean_checkbox
+    weight: 16
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
   field_ressources_liees:
     type: entity_reference_autocomplete
     weight: 134
@@ -302,7 +311,7 @@ content:
     third_party_settings: {  }
   status:
     type: boolean_checkbox
-    weight: 16
+    weight: 17
     region: content
     settings:
       display_label: true

+ 18 - 0
config/sync/core.entity_form_display.paragraph.personne.default.yml

@@ -3,19 +3,30 @@ langcode: fr
 status: true
 dependencies:
   config:
+    - field.field.paragraph.personne.field_courriel
     - field.field.paragraph.personne.field_fonction
     - field.field.paragraph.personne.field_nom
     - field.field.paragraph.personne.field_photo
     - field.field.paragraph.personne.field_prenom
+    - field.field.paragraph.personne.field_telephone
     - image.style.thumbnail
     - paragraphs.paragraphs_type.personne
   module:
     - image
+    - telephone
 id: paragraph.personne.default
 targetEntityType: paragraph
 bundle: personne
 mode: default
 content:
+  field_courriel:
+    type: email_default
+    weight: 5
+    region: content
+    settings:
+      placeholder: ''
+      size: 60
+    third_party_settings: {  }
   field_fonction:
     type: string_textfield
     weight: 2
@@ -48,6 +59,13 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
+  field_telephone:
+    type: telephone_default
+    weight: 4
+    region: content
+    settings:
+      placeholder: ''
+    third_party_settings: {  }
 hidden:
   created: true
   status: true

+ 2 - 0
config/sync/core.entity_view_display.block_content.logo_block.default.yml

@@ -20,6 +20,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings:
       linked_field:
         linked: '1'

+ 13 - 0
config/sync/core.entity_view_display.node.actualite.default.yml

@@ -12,6 +12,7 @@ dependencies:
     - field.field.node.actualite.field_memo
     - field.field.node.actualite.field_programme
     - field.field.node.actualite.field_projet
+    - field.field.node.actualite.field_promu_en_page_programme
     - field.field.node.actualite.field_ressources_liees
     - field.field.node.actualite.field_sous_titre
     - field.field.node.actualite.field_theme
@@ -67,6 +68,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 108
     region: content
@@ -105,6 +108,16 @@ content:
     third_party_settings: {  }
     weight: 111
     region: content
+  field_promu_en_page_programme:
+    type: boolean
+    label: above
+    settings:
+      format: default
+      format_custom_false: ''
+      format_custom_true: ''
+    third_party_settings: {  }
+    weight: 116
+    region: content
   field_ressources_liees:
     type: entity_reference_label
     label: above

+ 4 - 0
config/sync/core.entity_view_display.node.actualite.teaser.yml

@@ -13,6 +13,7 @@ dependencies:
     - field.field.node.actualite.field_memo
     - field.field.node.actualite.field_programme
     - field.field.node.actualite.field_projet
+    - field.field.node.actualite.field_promu_en_page_programme
     - field.field.node.actualite.field_ressources_liees
     - field.field.node.actualite.field_sous_titre
     - field.field.node.actualite.field_theme
@@ -53,6 +54,8 @@ content:
     settings:
       image_link: content
       image_style: very_large
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 1
     region: content
@@ -79,6 +82,7 @@ hidden:
   field_lien: true
   field_memo: true
   field_projet: true
+  field_promu_en_page_programme: true
   field_ressources_liees: true
   field_theme: true
   langcode: true

+ 2 - 0
config/sync/core.entity_view_display.node.evenement.accroche_ss_image.yml

@@ -16,6 +16,7 @@ dependencies:
     - field.field.node.evenement.field_partenaires
     - field.field.node.evenement.field_programme
     - field.field.node.evenement.field_projet
+    - field.field.node.evenement.field_promu_en_page_programme
     - field.field.node.evenement.field_ressources_liees
     - field.field.node.evenement.field_sous_titre
     - field.field.node.evenement.field_theme
@@ -88,6 +89,7 @@ hidden:
   field_memo: true
   field_organisateur: true
   field_partenaires: true
+  field_promu_en_page_programme: true
   field_ressources_liees: true
   field_theme: true
   field_type_evenement: true

+ 13 - 0
config/sync/core.entity_view_display.node.evenement.default.yml

@@ -15,6 +15,7 @@ dependencies:
     - field.field.node.evenement.field_partenaires
     - field.field.node.evenement.field_programme
     - field.field.node.evenement.field_projet
+    - field.field.node.evenement.field_promu_en_page_programme
     - field.field.node.evenement.field_ressources_liees
     - field.field.node.evenement.field_sous_titre
     - field.field.node.evenement.field_theme
@@ -78,6 +79,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 111
     region: content
@@ -139,6 +142,16 @@ content:
     third_party_settings: {  }
     weight: 116
     region: content
+  field_promu_en_page_programme:
+    type: boolean
+    label: above
+    settings:
+      format: default
+      format_custom_false: ''
+      format_custom_true: ''
+    third_party_settings: {  }
+    weight: 119
+    region: content
   field_ressources_liees:
     type: entity_reference_label
     label: above

+ 4 - 0
config/sync/core.entity_view_display.node.evenement.teaser.yml

@@ -16,6 +16,7 @@ dependencies:
     - field.field.node.evenement.field_partenaires
     - field.field.node.evenement.field_programme
     - field.field.node.evenement.field_projet
+    - field.field.node.evenement.field_promu_en_page_programme
     - field.field.node.evenement.field_ressources_liees
     - field.field.node.evenement.field_sous_titre
     - field.field.node.evenement.field_theme
@@ -43,6 +44,8 @@ content:
     settings:
       image_link: content
       image_style: very_large
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 2
     region: content
@@ -78,6 +81,7 @@ hidden:
   field_organisateur: true
   field_partenaires: true
   field_projet: true
+  field_promu_en_page_programme: true
   field_ressources_liees: true
   field_theme: true
   field_type_evenement: true

+ 8 - 12
config/sync/core.entity_view_display.node.programme.default.yml

@@ -16,7 +16,6 @@ dependencies:
     - node.type.programme
   module:
     - entity_reference_revisions
-    - file
     - image
     - panelizer
     - text
@@ -45,25 +44,21 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 3
     region: content
-  field_fichier:
-    type: file_default
-    label: hidden
-    settings:
-      use_description_as_link_text: true
-    third_party_settings: {  }
-    weight: 4
-    region: content
   field_logo:
     type: image
     label: hidden
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
-    weight: 7
+    weight: 6
     region: content
   field_partenaires:
     type: entity_reference_revisions_entity_view
@@ -72,7 +67,7 @@ content:
       view_mode: default
       link: ''
     third_party_settings: {  }
-    weight: 5
+    weight: 4
     region: content
   field_sous_parties:
     type: entity_reference_revisions_entity_view
@@ -81,7 +76,7 @@ content:
       view_mode: default
       link: ''
     third_party_settings: {  }
-    weight: 6
+    weight: 5
     region: content
   field_textes:
     type: entity_reference_revisions_entity_view
@@ -104,6 +99,7 @@ hidden:
   computed_themes_references: true
   field_actif: true
   field_document: true
+  field_fichier: true
   field_poid: true
   langcode: true
   search_api_excerpt: true

+ 2 - 0
config/sync/core.entity_view_display.node.projet.default.yml

@@ -78,6 +78,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 2
     region: content

+ 2 - 0
config/sync/core.entity_view_display.node.projet.teaser.yml

@@ -54,6 +54,8 @@ content:
     settings:
       image_link: content
       image_style: very_large
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 1
     region: content

+ 2 - 0
config/sync/core.entity_view_display.node.ressource.default.yml

@@ -102,6 +102,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 7
     region: content

+ 2 - 0
config/sync/core.entity_view_display.node.ressource.teaser.yml

@@ -60,6 +60,8 @@ content:
     settings:
       image_link: content
       image_style: very_large
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 5
     region: content

+ 4 - 0
config/sync/core.entity_view_display.node.theme.default.yml

@@ -41,6 +41,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 114
     region: content
@@ -67,6 +69,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 102
     region: content

+ 2 - 0
config/sync/core.entity_view_display.node.theme.teaser.yml

@@ -50,6 +50,8 @@ content:
     settings:
       image_link: content
       image_style: very_large
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 1
     region: content

+ 2 - 0
config/sync/core.entity_view_display.paragraph.doc_and_thumb.default.yml

@@ -38,6 +38,8 @@ content:
     settings:
       image_link: ''
       image_style: medium
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 0
     region: content

+ 2 - 0
config/sync/core.entity_view_display.paragraph.partenaires.admin.yml

@@ -24,6 +24,8 @@ content:
     settings:
       image_link: ''
       image_style: thumbnail
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 0
     region: content

+ 2 - 0
config/sync/core.entity_view_display.paragraph.partenaires.default.yml

@@ -45,6 +45,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 1
     region: content

+ 2 - 0
config/sync/core.entity_view_display.paragraph.partenaires.preview.yml

@@ -46,6 +46,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 1
     region: content

+ 20 - 0
config/sync/core.entity_view_display.paragraph.personne.default.yml

@@ -3,18 +3,28 @@ langcode: fr
 status: true
 dependencies:
   config:
+    - field.field.paragraph.personne.field_courriel
     - field.field.paragraph.personne.field_fonction
     - field.field.paragraph.personne.field_nom
     - field.field.paragraph.personne.field_photo
     - field.field.paragraph.personne.field_prenom
+    - field.field.paragraph.personne.field_telephone
     - paragraphs.paragraphs_type.personne
   module:
     - image
+    - telephone
 id: paragraph.personne.default
 targetEntityType: paragraph
 bundle: personne
 mode: default
 content:
+  field_courriel:
+    type: email_mailto
+    label: visually_hidden
+    settings: {  }
+    third_party_settings: {  }
+    weight: 5
+    region: content
   field_fonction:
     type: string
     label: visually_hidden
@@ -37,6 +47,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 0
     region: content
@@ -48,5 +60,13 @@ content:
     third_party_settings: {  }
     weight: 1
     region: content
+  field_telephone:
+    type: telephone_link
+    label: visually_hidden
+    settings:
+      title: ''
+    third_party_settings: {  }
+    weight: 4
+    region: content
 hidden:
   search_api_excerpt: true

+ 2 - 0
config/sync/core.entity_view_display.paragraph.textes.default.yml

@@ -21,6 +21,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 2
     region: content

+ 9 - 0
config/sync/core.entity_view_display.taxonomy_term.collection.default.yml

@@ -8,7 +8,14 @@ dependencies:
     - taxonomy.vocabulary.collection
   module:
     - image
+    - panelizer
     - text
+third_party_settings:
+  panelizer:
+    enable: false
+    custom: false
+    allow: false
+    default: default
 id: taxonomy_term.collection.default
 targetEntityType: taxonomy_term
 bundle: collection
@@ -27,6 +34,8 @@ content:
     settings:
       image_link: ''
       image_style: ''
+      image_loading:
+        attribute: lazy
     third_party_settings: {  }
     weight: 1
     region: content

+ 157 - 0
config/sync/core.entity_view_display.taxonomy_term.collection.third_column.yml

@@ -0,0 +1,157 @@
+uuid: decceff0-c735-4674-b337-9044be7c9708
+langcode: fr
+status: false
+dependencies:
+  config:
+    - core.entity_view_mode.taxonomy_term.third_column
+    - field.field.taxonomy_term.collection.field_image
+    - field.field.taxonomy_term.collection.field_programmes
+    - image.style.large
+    - taxonomy.vocabulary.collection
+  module:
+    - image
+    - panelizer
+    - text
+third_party_settings:
+  panelizer:
+    enable: false
+    custom: false
+    allow: false
+    default: default
+    displays:
+      default:
+        id: panels_variant
+        label: Master
+        weight: 0
+        uuid: a8e0bd0c-c292-46dd-aa98-5d34dc9d7b61
+        blocks:
+          7fa724d2-1402-45cf-a2c9-d4563e0d96f1:
+            id: 'entity_field:taxonomy_term:description'
+            label: Description
+            label_display: '0'
+            provider: ctools_block
+            context_mapping:
+              entity: '@panelizer.entity_context:entity'
+            formatter:
+              type: text_default
+              weight: 0
+              region: content
+              label: hidden
+              settings: {  }
+              third_party_settings: {  }
+            region: content
+            weight: 0
+            uuid: 7fa724d2-1402-45cf-a2c9-d4563e0d96f1
+          9d97303f-88fe-4ca4-95dd-083d9b67c8f9:
+            id: 'entity_field:taxonomy_term:field_image'
+            label: Image
+            label_display: '0'
+            provider: ctools_block
+            context_mapping:
+              entity: '@panelizer.entity_context:entity'
+            formatter:
+              type: image
+              weight: 0
+              region: content
+              label: visually_hidden
+              settings:
+                image_link: content
+                image_style: large
+                image_loading:
+                  attribute: lazy
+              third_party_settings: {  }
+            region: content
+            weight: 1
+            uuid: 9d97303f-88fe-4ca4-95dd-083d9b67c8f9
+          90c181f9-7945-4075-a55b-b97707831952:
+            id: 'entity_field:taxonomy_term:field_programmes'
+            label: Programmes
+            label_display: '0'
+            provider: ctools_block
+            context_mapping:
+              entity: '@panelizer.entity_context:entity'
+            formatter:
+              type: entity_reference_label
+              weight: 0
+              region: content
+              label: visually_hidden
+              settings:
+                link: true
+              third_party_settings: {  }
+            region: content
+            weight: 2
+            uuid: 90c181f9-7945-4075-a55b-b97707831952
+          ab56cd42-fca7-41ea-a4b1-63152a891bc8:
+            id: 'entity_field:taxonomy_term:name'
+            label: Nom
+            label_display: '0'
+            provider: ctools_block
+            context_mapping:
+              entity: '@panelizer.entity_context:entity'
+            formatter:
+              type: string
+              weight: 0
+              label: visually_hidden
+              settings:
+                link_to_entity: false
+              third_party_settings: {  }
+            region: content
+            weight: -1
+            uuid: ab56cd42-fca7-41ea-a4b1-63152a891bc8
+          84b1f41f-4a47-4e93-99c3-28eff93434b4:
+            id: 'views_block:collection-block_1'
+            label: ''
+            label_display: visible
+            provider: views
+            context_mapping: {  }
+            views_label: ''
+            items_per_page: none
+            arguments:
+              tid:
+                type: taxonomy
+                value: '[@panelizer.entity_context:entity:tid]'
+            region: content
+            weight: -2
+            uuid: 84b1f41f-4a47-4e93-99c3-28eff93434b4
+        page_title: '[term:tid]'
+        layout: layout_onecol
+        layout_settings: {  }
+        builder: standard
+        storage_type: panelizer_default
+        storage_id: 'taxonomy_term:collection:third_column:default'
+        static_context: {  }
+        pattern: panelizer
+id: taxonomy_term.collection.third_column
+targetEntityType: taxonomy_term
+bundle: collection
+mode: third_column
+content:
+  description:
+    type: text_default
+    label: hidden
+    settings: {  }
+    third_party_settings: {  }
+    weight: 0
+    region: content
+  field_image:
+    type: image
+    label: visually_hidden
+    settings:
+      image_link: content
+      image_style: large
+      image_loading:
+        attribute: lazy
+    third_party_settings: {  }
+    weight: 1
+    region: content
+  field_programmes:
+    type: entity_reference_label
+    label: visually_hidden
+    settings:
+      link: true
+    third_party_settings: {  }
+    weight: 2
+    region: content
+hidden:
+  langcode: true
+  search_api_excerpt: true

+ 10 - 0
config/sync/core.entity_view_mode.taxonomy_term.third_column.yml

@@ -0,0 +1,10 @@
+uuid: b41f424a-9195-4c49-b2cb-35f051d4374a
+langcode: fr
+status: true
+dependencies:
+  module:
+    - taxonomy
+id: taxonomy_term.third_column
+label: 'third column'
+targetEntityType: taxonomy_term
+cache: true

+ 1 - 0
config/sync/core.extension.yml

@@ -95,6 +95,7 @@ module:
   menu_block: 0
   menu_link_content: 0
   menu_ui: 0
+  mysql: 0
   node: 0
   options: 0
   page_cache: 0

+ 0 - 2
config/sync/editor.editor.wysiwyg.yml

@@ -55,8 +55,6 @@ settings:
       linkit_profile: default
     stylescombo:
       styles: h4.inter-titre|Inter-titre
-    language:
-      language_list: un
     video_embed:
       defaults:
         children:

+ 23 - 0
config/sync/field.field.node.actualite.field_promu_en_page_programme.yml

@@ -0,0 +1,23 @@
+uuid: 024d8a9b-1325-4c82-b1eb-e7b955565b03
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_promu_en_page_programme
+    - node.type.actualite
+id: node.actualite.field_promu_en_page_programme
+field_name: field_promu_en_page_programme
+entity_type: node
+bundle: actualite
+label: 'Promu en page programme'
+description: ''
+required: false
+translatable: true
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: Activé
+  off_label: Désactivé
+field_type: boolean

+ 23 - 0
config/sync/field.field.node.evenement.field_promu_en_page_programme.yml

@@ -0,0 +1,23 @@
+uuid: f636efe4-64f9-4a14-b88f-2168b669058b
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.node.field_promu_en_page_programme
+    - node.type.evenement
+id: node.evenement.field_promu_en_page_programme
+field_name: field_promu_en_page_programme
+entity_type: node
+bundle: evenement
+label: 'Promu en page programme'
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: Activé
+  off_label: Désactivé
+field_type: boolean

+ 19 - 0
config/sync/field.field.paragraph.personne.field_courriel.yml

@@ -0,0 +1,19 @@
+uuid: 04415705-c56b-4844-b8ca-6077fa2876c7
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.paragraph.field_courriel
+    - paragraphs.paragraphs_type.personne
+id: paragraph.personne.field_courriel
+field_name: field_courriel
+entity_type: paragraph
+bundle: personne
+label: Courriel
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: email

+ 21 - 0
config/sync/field.field.paragraph.personne.field_telephone.yml

@@ -0,0 +1,21 @@
+uuid: 58ca1f7d-b0b4-4174-8b58-4f35dfd7dc5f
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.paragraph.field_telephone
+    - paragraphs.paragraphs_type.personne
+  module:
+    - telephone
+id: paragraph.personne.field_telephone
+field_name: field_telephone
+entity_type: paragraph
+bundle: personne
+label: Téléphone
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: telephone

+ 18 - 0
config/sync/field.storage.node.field_promu_en_page_programme.yml

@@ -0,0 +1,18 @@
+uuid: d42791f7-c180-4a2d-8b8c-51c37acd7ed1
+langcode: fr
+status: true
+dependencies:
+  module:
+    - node
+id: node.field_promu_en_page_programme
+field_name: field_promu_en_page_programme
+entity_type: node
+type: boolean
+settings: {  }
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 18 - 0
config/sync/field.storage.paragraph.field_courriel.yml

@@ -0,0 +1,18 @@
+uuid: 28b9a61b-5327-4b41-9ac8-ba1bd7725788
+langcode: fr
+status: true
+dependencies:
+  module:
+    - paragraphs
+id: paragraph.field_courriel
+field_name: field_courriel
+entity_type: paragraph
+type: email
+settings: {  }
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 19 - 0
config/sync/field.storage.paragraph.field_telephone.yml

@@ -0,0 +1,19 @@
+uuid: 1510fb5c-8a62-4e69-9db6-48169195269a
+langcode: fr
+status: true
+dependencies:
+  module:
+    - paragraphs
+    - telephone
+id: paragraph.field_telephone
+field_name: field_telephone
+entity_type: paragraph
+type: telephone
+settings: {  }
+module: telephone
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 1 - 0
config/sync/page_manager.page_variant.node-panels_variant-0.yml

@@ -10,6 +10,7 @@ dependencies:
   module:
     - ctools
     - ctools_block
+    - node
     - panels
     - popsu_link_block
     - views

+ 1 - 1
config/sync/page_manager.page_variant.node-panels_variant-1.yml

@@ -6,8 +6,8 @@ dependencies:
     - page_manager.page.node
     - views.view.static
   module:
-    - ctools
     - ctools_block
+    - node
     - panels
     - views
 id: node-panels_variant-1

+ 5 - 3
config/sync/page_manager.page_variant.node-panels_variant-2.yml

@@ -9,8 +9,8 @@ dependencies:
     - 'block_content:custom:e9910814-76d7-47ab-bfa7-4ff274a23c04'
   module:
     - block_content
-    - ctools
     - ctools_block
+    - node
     - panels
     - popsu_link_block
     - views
@@ -88,9 +88,10 @@ variant_settings:
         label: hidden
         settings:
           timezone_override: ''
-          format: date_only
+          format: full_date_only
           force_chronological: false
           add_classes: false
+          time_wrapper: true
         third_party_settings: {  }
       region: second
       weight: 0
@@ -159,9 +160,10 @@ variant_settings:
         label: hidden
         settings:
           timezone_override: ''
-          format: date_only
+          format: full_date_only
           force_chronological: false
           add_classes: false
+          time_wrapper: true
         third_party_settings: {  }
       region: second
       weight: 1

+ 4 - 4
config/sync/page_manager.page_variant.node-panels_variant-3.yml

@@ -5,8 +5,8 @@ dependencies:
   config:
     - page_manager.page.node
   module:
-    - ctools
     - ctools_block
+    - node
     - panels
 id: node-panels_variant-3
 label: Theme
@@ -169,7 +169,7 @@ variant_settings:
           view_mode: default
         third_party_settings: {  }
       region: second
-      weight: 1
+      weight: 2
       uuid: a0aab616-1bf0-4114-8b8e-d54a0d35361d
     e4a0c687-e425-460c-a25e-92a63262deb5:
       id: 'entity_field:node:field_equipes'
@@ -185,8 +185,8 @@ variant_settings:
         settings:
           view_mode: default
         third_party_settings: {  }
-      region: third
-      weight: -8
+      region: second
+      weight: 1
       uuid: e4a0c687-e425-460c-a25e-92a63262deb5
     5b8c8522-6440-4551-b280-ba44573e0e7c:
       id: 'entity_field:node:field_evenements_lies'

+ 1 - 1
config/sync/page_manager.page_variant.node-panels_variant-4.yml

@@ -6,8 +6,8 @@ dependencies:
     - page_manager.page.node
     - views.view.programme_toc
   module:
-    - ctools
     - ctools_block
+    - node
     - panels
     - popsu_link_block
     - views

+ 50 - 13
config/sync/page_manager.page_variant.node-panels_variant-5.yml

@@ -4,13 +4,15 @@ status: true
 dependencies:
   config:
     - page_manager.page.node
+    - views.view.collection
   content:
     - 'block_content:custom:1911abcd-dd85-403d-8e6e-8621c9f2045a'
   module:
     - block_content
-    - ctools
     - ctools_block
+    - node
     - panels
+    - views
 id: node-panels_variant-5
 label: Ressource
 weight: 0
@@ -36,7 +38,7 @@ variant_settings:
           link_to_entity: false
         third_party_settings: {  }
       region: second
-      weight: -1
+      weight: -3
       uuid: cc44ae59-b6ba-47d3-9224-1d6ef82de485
     68ed5c37-232a-4554-b1e6-a598cc1b01d4:
       id: 'entity_field:node:body'
@@ -52,7 +54,7 @@ variant_settings:
         settings: {  }
         third_party_settings: {  }
       region: second
-      weight: 4
+      weight: 3
       uuid: 68ed5c37-232a-4554-b1e6-a598cc1b01d4
     d2a161df-e7fa-4cd7-8a6c-442702667034:
       id: 'entity_field:node:field_auteurs'
@@ -68,7 +70,7 @@ variant_settings:
         settings: {  }
         third_party_settings: {  }
       region: second
-      weight: -2
+      weight: -4
       uuid: d2a161df-e7fa-4cd7-8a6c-442702667034
     3019fd91-6735-471b-a429-005dd320f5bd:
       id: 'entity_field:node:field_collections'
@@ -85,7 +87,7 @@ variant_settings:
           link: false
         third_party_settings: {  }
       region: second
-      weight: 0
+      weight: -1
       uuid: 3019fd91-6735-471b-a429-005dd320f5bd
     f9eaed57-bcce-43db-a937-e44f84cde262:
       id: 'entity_field:node:field_image'
@@ -103,7 +105,7 @@ variant_settings:
           image_style: very_large
         third_party_settings: {  }
       region: second
-      weight: -3
+      weight: -5
       uuid: f9eaed57-bcce-43db-a937-e44f84cde262
     11c9521f-c1c5-4a3a-b735-b013ea51b5d7:
       id: 'entity_field:node:field_programme'
@@ -120,7 +122,7 @@ variant_settings:
           link: true
         third_party_settings: {  }
       region: second
-      weight: -5
+      weight: -7
       uuid: 11c9521f-c1c5-4a3a-b735-b013ea51b5d7
     6b899160-a218-4412-9aae-15bf077ffab8:
       id: 'entity_field:node:field_date_de_parution'
@@ -130,15 +132,18 @@ variant_settings:
       context_mapping:
         entity: node
       formatter:
-        type: datetime_default
+        type: smartdate_default
         weight: 0
         label: hidden
         settings:
           timezone_override: ''
-          format_type: html_date
+          format: moi_annee
+          force_chronological: false
+          add_classes: false
+          time_wrapper: false
         third_party_settings: {  }
       region: second
-      weight: 1
+      weight: 0
       uuid: 6b899160-a218-4412-9aae-15bf077ffab8
     6957b522-39a6-4094-a338-4908b79bd5dd:
       id: 'entity_field:node:field_theme'
@@ -155,7 +160,7 @@ variant_settings:
           link: true
         third_party_settings: {  }
       region: second
-      weight: 2
+      weight: 1
       uuid: 6957b522-39a6-4094-a338-4908b79bd5dd
     5a3cd52c-80b0-48ab-ad5b-102a0572cc10:
       id: 'entity_field:node:field_type_de_ressource'
@@ -172,7 +177,7 @@ variant_settings:
           link: false
         third_party_settings: {  }
       region: second
-      weight: -4
+      weight: -6
       uuid: 5a3cd52c-80b0-48ab-ad5b-102a0572cc10
     99f61c86-31f2-41b7-a344-f398bbae87a5:
       id: 'block_content:1911abcd-dd85-403d-8e6e-8621c9f2045a'
@@ -221,7 +226,7 @@ variant_settings:
           height: 480
         third_party_settings: {  }
       region: second
-      weight: 3
+      weight: 2
       uuid: c80516af-557e-426b-ba94-dc32e53016e0
     31cf12fb-4adf-489d-ae14-9f4fddcac1c4:
       id: 'entity_field:node:field_ressources_liees'
@@ -278,6 +283,38 @@ variant_settings:
       region: third
       weight: -4
       uuid: eb706a7a-211b-4ef8-84b7-b1a6a207879c
+    b4e55d8c-4700-45ba-9b04-f48ad1ff7f38:
+      id: 'entity_field:node:field_sous_titre'
+      label: 'Sous titre'
+      label_display: '0'
+      provider: ctools_block
+      context_mapping:
+        entity: node
+      formatter:
+        type: string
+        weight: 0
+        label: hidden
+        settings:
+          link_to_entity: false
+        third_party_settings: {  }
+      region: second
+      weight: -2
+      uuid: b4e55d8c-4700-45ba-9b04-f48ad1ff7f38
+    0d80d9b0-5425-4e6c-a886-4c50c9e60317:
+      id: 'views_block:collection-block_1'
+      label: Collection
+      label_display: visible
+      provider: views
+      context_mapping: {  }
+      views_label: Collection
+      items_per_page: none
+      arguments:
+        tid:
+          type: taxonomy
+          value: '[node:field_collections:target_id]'
+      region: third
+      weight: 0
+      uuid: 0d80d9b0-5425-4e6c-a886-4c50c9e60317
   page_title: ''
   layout: layout_threecol_25_50_25
   layout_settings:

+ 15 - 0
config/sync/smart_date.smart_date_format.full_date_only.yml

@@ -0,0 +1,15 @@
+uuid: 3068773d-5003-4fc5-acba-7c08b726e713
+langcode: fr
+status: true
+dependencies: {  }
+id: full_date_only
+label: 'Full date only'
+date_format: 'l j F Y'
+time_format: ''
+time_hour_format: ''
+allday_label: 'All day'
+separator: ' - '
+join: ', '
+ampm_reduce: '1'
+date_first: '1'
+site_time_toggle: '1'

+ 15 - 0
config/sync/smart_date.smart_date_format.moi_annee.yml

@@ -0,0 +1,15 @@
+uuid: 09783cbc-b23f-4eae-a0ec-c6872f56824d
+langcode: fr
+status: true
+dependencies: {  }
+id: moi_annee
+label: 'moi année'
+date_format: 'F Y'
+time_format: ''
+time_hour_format: ''
+allday_label: 'All day'
+separator: ' - '
+join: ', '
+ampm_reduce: '1'
+date_first: '1'
+site_time_toggle: '1'

+ 1 - 0
config/sync/system.advisories.yml

@@ -1,2 +1,3 @@
+langcode: fr
 enabled: true
 interval_hours: 6

+ 1 - 0
config/sync/system.rss.yml

@@ -1,4 +1,5 @@
 _core:
   default_config_hash: S5uQkVe5wkt0j4O7sfCxOPi4fX8a0aUfJd9o2bNfImM
+langcode: fr
 items:
   view_mode: rss

+ 1 - 1
config/sync/system.site.yml

@@ -4,7 +4,7 @@ langcode: fr
 uuid: 9b21a6aa-b4cd-4bc8-b7a0-d2fdb2f03468
 name: Popsu
 mail: dev@figureslibres.io
-slogan: ''
+slogan: 'Plateforme d''observation des projets et stratégies urbaines'
 page:
   403: ''
   404: ''

+ 1 - 0
config/sync/user.role.editeur.yml

@@ -49,6 +49,7 @@ permissions:
   - 'create terms in types_de_theme'
   - 'create terms in villes'
   - 'create theme content'
+  - 'delete any ressource content'
   - 'edit any actualite content'
   - 'edit any evenement content'
   - 'edit any programme content'

+ 3 - 1
config/sync/views.view.actus_blocks.yml

@@ -149,7 +149,7 @@ display:
           type: smartdate_default
           settings:
             timezone_override: ''
-            format: date_only
+            format: full_date_only
             force_chronological: false
             add_classes: false
             time_wrapper: false
@@ -406,6 +406,8 @@ display:
           settings:
             image_link: content
             image_style: very_large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true

+ 71 - 1
config/sync/views.view.admin_taxo.yml

@@ -5,11 +5,14 @@ dependencies:
   config:
     - field.storage.taxonomy_term.field_adresse
     - field.storage.taxonomy_term.field_geofield
+    - field.storage.taxonomy_term.field_image
+    - image.style.thumbnail
     - taxonomy.vocabulary.collection
     - taxonomy.vocabulary.villes
   module:
     - address
     - geofield
+    - image
     - taxonomy
     - text
     - user
@@ -951,6 +954,72 @@ display:
               action_id: 'entity:unpublish_action:taxonomy_term'
               preconfiguration:
                 add_confirmation: false
+        field_image:
+          id: field_image
+          table: taxonomy_term__field_image
+          field: field_image
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: field
+          label: Image
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: 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_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: target_id
+          type: image
+          settings:
+            image_link: ''
+            image_style: thumbnail
+            image_loading:
+              attribute: lazy
+          group_column: ''
+          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
         name:
           id: name
           table: taxonomy_term_field_data
@@ -1204,4 +1273,5 @@ display:
         - 'languages:language_interface'
         - url.query_args
         - user.permissions
-      tags: {  }
+      tags:
+        - 'config:field.storage.taxonomy_term.field_image'

+ 7 - 1
config/sync/views.view.centre_de_ressources.yml

@@ -11,6 +11,7 @@ dependencies:
     - field.storage.node.field_sous_titre
     - field.storage.node.field_theme
     - field.storage.node.field_type_de_ressource
+    - image.style.large
     - image.style.medium
     - node.type.ressource
     - system.menu.head
@@ -454,7 +455,9 @@ display:
           type: image
           settings:
             image_link: content
-            image_style: medium
+            image_style: large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -1915,6 +1918,8 @@ display:
           settings:
             image_link: ''
             image_style: medium
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -2287,6 +2292,7 @@ display:
             default_group_multiple: {  }
             group_items: {  }
           fields:
+            field_auteurs: field_auteurs
             title: title
             field_sous_titre: field_sous_titre
             body: body

+ 501 - 0
config/sync/views.view.collection.yml

@@ -0,0 +1,501 @@
+uuid: 04dada01-8f9e-4cf5-b597-adc7fd0479ea
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.taxonomy_term.field_image
+    - field.storage.taxonomy_term.field_programmes
+    - image.style.large
+    - taxonomy.vocabulary.collection
+  module:
+    - image
+    - taxonomy
+    - text
+    - user
+id: collection
+label: collection
+module: views
+description: ''
+tag: ''
+base_table: taxonomy_term_field_data
+base_field: tid
+display:
+  default:
+    id: default
+    display_title: Default
+    display_plugin: default
+    position: 0
+    display_options:
+      title: 'collection link to ressource filtred'
+      fields:
+        tid:
+          id: tid
+          table: taxonomy_term_field_data
+          field: tid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: taxonomy_term
+          entity_field: tid
+          plugin_id: field
+          label: ''
+          exclude: true
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: 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: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: number_integer
+          settings:
+            thousand_separator: ''
+            prefix_suffix: true
+          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
+        name:
+          id: name
+          table: taxonomy_term_field_data
+          field: name
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: taxonomy_term
+          entity_field: name
+          plugin_id: term_name
+          label: ''
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: true
+            path: '/centre-de-ressources?field_collections_target_id={{ tid }}'
+            absolute: 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: false
+            ellipsis: false
+            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: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: string
+          settings:
+            link_to_entity: false
+          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
+          convert_spaces: false
+        description__value:
+          id: description__value
+          table: taxonomy_term_field_revision
+          field: description__value
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: taxonomy_term
+          entity_field: description
+          plugin_id: field
+          label: ''
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: 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: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: text_default
+          settings: {  }
+          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
+        field_image:
+          id: field_image
+          table: taxonomy_term__field_image
+          field: field_image
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: field
+          label: ''
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: 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: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: target_id
+          type: image
+          settings:
+            image_link: ''
+            image_style: large
+            image_loading:
+              attribute: lazy
+          group_column: ''
+          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
+        field_programmes:
+          id: field_programmes
+          table: taxonomy_term__field_programmes
+          field: field_programmes
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: field
+          label: ''
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: 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: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: target_id
+          type: entity_reference_label
+          settings:
+            link: true
+          group_column: target_id
+          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
+      pager:
+        type: some
+        options:
+          offset: 0
+          items_per_page: 1
+      exposed_form:
+        type: basic
+        options:
+          submit_button: Apply
+          reset_button: false
+          reset_button_label: Reset
+          exposed_sorts_label: 'Sort by'
+          expose_sort_order: true
+          sort_asc_label: Asc
+          sort_desc_label: Desc
+      access:
+        type: perm
+        options:
+          perm: 'access content'
+      cache:
+        type: tag
+        options: {  }
+      empty: {  }
+      sorts: {  }
+      arguments:
+        tid:
+          id: tid
+          table: taxonomy_term_field_data
+          field: tid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: taxonomy_term
+          entity_field: tid
+          plugin_id: taxonomy
+          default_action: default
+          exception:
+            value: all
+            title_enable: false
+            title: All
+          title_enable: false
+          title: ''
+          default_argument_type: query_parameter
+          default_argument_options:
+            query_param: ''
+            fallback: ''
+            multiple: and
+          default_argument_skip_url: false
+          summary_options:
+            base_path: ''
+            count: true
+            override: false
+            items_per_page: 25
+          summary:
+            sort_order: asc
+            number_of_records: 0
+            format: default_summary
+          specify_validation: false
+          validate:
+            type: none
+            fail: 'not found'
+          validate_options: {  }
+          break_phrase: false
+          not: false
+      filters:
+        status:
+          id: status
+          table: taxonomy_term_field_data
+          field: status
+          entity_type: taxonomy_term
+          entity_field: status
+          plugin_id: boolean
+          value: '1'
+          group: 1
+          expose:
+            operator: ''
+            operator_limit_selection: false
+            operator_list: {  }
+        vid:
+          id: vid
+          table: taxonomy_term_field_data
+          field: vid
+          entity_type: taxonomy_term
+          entity_field: vid
+          plugin_id: bundle
+          value:
+            collection: collection
+          expose:
+            operator_limit_selection: false
+            operator_list: {  }
+      style:
+        type: default
+      row:
+        type: fields
+      query:
+        type: views_query
+        options:
+          query_comment: ''
+          disable_sql_rewrite: false
+          distinct: false
+          replica: false
+          query_tags: {  }
+      relationships: {  }
+      header: {  }
+      footer: {  }
+      display_extenders: {  }
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - user.permissions
+      tags:
+        - 'config:field.storage.taxonomy_term.field_image'
+        - 'config:field.storage.taxonomy_term.field_programmes'
+  block_1:
+    id: block_1
+    display_title: 'collection to filtred ressource view Block'
+    display_plugin: block
+    position: 1
+    display_options:
+      display_description: ''
+      display_extenders:
+        views_ef_fieldset: {  }
+      block_description: 'collection link to ressources'
+      block_category: 'Collection (Views)'
+      allow:
+        items_per_page: false
+        offset: '0'
+        pager: '0'
+        hide_fields: '0'
+        sort_fields: '0'
+        arguments: arguments
+        disable_filters: '0'
+        configure_sorts: '0'
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - user.permissions
+      tags:
+        - 'config:field.storage.taxonomy_term.field_image'
+        - 'config:field.storage.taxonomy_term.field_programmes'

+ 14 - 0
config/sync/views.view.content.yml

@@ -128,6 +128,8 @@ display:
           settings:
             image_link: content
             image_style: thumbnail
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -778,6 +780,8 @@ display:
           settings:
             image_link: content
             image_style: thumbnail
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -1374,6 +1378,8 @@ display:
           settings:
             image_link: ''
             image_style: thumbnail
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -2330,6 +2336,8 @@ display:
           settings:
             image_link: ''
             image_style: thumbnail
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -3882,6 +3890,8 @@ display:
           settings:
             image_link: ''
             image_style: thumbnail
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -4891,6 +4901,8 @@ display:
           settings:
             image_link: ''
             image_style: thumbnail
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -5643,6 +5655,8 @@ display:
           settings:
             image_link: ''
             image_style: thumbnail
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true

+ 6 - 0
config/sync/views.view.home_blocks.yml

@@ -140,6 +140,8 @@ display:
           settings:
             image_link: content
             image_style: large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -886,6 +888,8 @@ display:
           settings:
             image_link: content
             image_style: very_large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -1700,6 +1704,8 @@ display:
           settings:
             image_link: content
             image_style: large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true

+ 2 - 0
config/sync/views.view.home_themes.yml

@@ -127,6 +127,8 @@ display:
           settings:
             image_link: content
             image_style: very_large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true

+ 47 - 3
config/sync/views.view.programme_toc.yml

@@ -1467,7 +1467,7 @@ display:
           group_column: value
           group_columns: {  }
           group_rows: true
-          delta_limit: 0
+          delta_limit: 1
           delta_offset: 0
           delta_reversed: false
           delta_first_last: false
@@ -2195,9 +2195,10 @@ display:
           type: smartdate_default
           settings:
             timezone_override: ''
-            format: date_only
+            format: full_date_only
             force_chronological: false
             add_classes: false
+            time_wrapper: true
           group_column: value
           group_columns: {  }
           group_rows: true
@@ -2261,9 +2262,10 @@ display:
           type: smartdate_default
           settings:
             timezone_override: ''
-            format: date_only
+            format: full_date_only
             force_chronological: false
             add_classes: false
+            time_wrapper: true
           group_column: value
           group_columns: {  }
           group_rows: true
@@ -2517,6 +2519,8 @@ display:
           settings:
             image_link: content
             image_style: very_large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true
@@ -2764,6 +2768,44 @@ display:
             default_group: All
             default_group_multiple: {  }
             group_items: {  }
+        field_promu_en_page_programme_value:
+          id: field_promu_en_page_programme_value
+          table: node__field_promu_en_page_programme
+          field: field_promu_en_page_programme_value
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: boolean
+          operator: '='
+          value: '1'
+          group: 1
+          exposed: false
+          expose:
+            operator_id: ''
+            label: ''
+            description: ''
+            use_operator: false
+            operator: ''
+            operator_limit_selection: false
+            operator_list: {  }
+            identifier: ''
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
       filter_groups:
         operator: AND
         groups:
@@ -3160,6 +3202,8 @@ display:
           settings:
             image_link: ''
             image_style: medium
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true

+ 2 - 0
config/sync/views.view.programmes.yml

@@ -473,6 +473,8 @@ display:
           settings:
             image_link: content
             image_style: large
+            image_loading:
+              attribute: lazy
           group_column: ''
           group_columns: {  }
           group_rows: true

+ 1 - 0
config/sync/views.view.taxonomy_term.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - core.entity_view_mode.node.teaser
+    - taxonomy.vocabulary.collection
   module:
     - node
     - taxonomy

+ 5 - 0
web/.htaccess

@@ -32,6 +32,11 @@ AddEncoding gzip svgz
   php_value assert.active                   0
 </IfModule>
 
+# PHP 8, Apache 1 and 2.
+<IfModule mod_php.c>
+  php_value assert.active                   0
+</IfModule>
+
 # Requires mod_expires to be enabled.
 <IfModule mod_expires.c>
   # Enable expirations.

+ 28 - 3
web/sites/default/default.settings.php

@@ -170,9 +170,9 @@ $databases = [];
  * information on these defaults and the potential issues.
  *
  * More details can be found in the constructor methods for each driver:
- * - \Drupal\Core\Database\Driver\mysql\Connection::__construct()
- * - \Drupal\Core\Database\Driver\pgsql\Connection::__construct()
- * - \Drupal\Core\Database\Driver\sqlite\Connection::__construct()
+ * - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
+ * - \Drupal\pgsql\Driver\Database\pgsql\Connection::__construct()
+ * - \Drupal\sqlite\Driver\Database\sqlite\Connection::__construct()
  *
  * Sample Database configuration format for PostgreSQL (pgsql):
  * @code
@@ -490,6 +490,29 @@ $settings['update_free_access'] = FALSE;
  */
 # $settings['file_public_path'] = 'sites/default/files';
 
+/**
+ * Additional public file schemes:
+ *
+ * Public schemes are URI schemes that allow download access to all users for
+ * all files within that scheme.
+ *
+ * The "public" scheme is always public, and the "private" scheme is always
+ * private, but other schemes, such as "https", "s3", "example", or others,
+ * can be either public or private depending on the site. By default, they're
+ * private, and access to individual files is controlled via
+ * hook_file_download().
+ *
+ * Typically, if a scheme should be public, a module makes it public by
+ * implementing hook_file_download(), and granting access to all users for all
+ * files. This could be either the same module that provides the stream wrapper
+ * for the scheme, or a different module that decides to make the scheme
+ * public. However, in cases where a site needs to make a scheme public, but
+ * is unable to add code in a module to do so, the scheme may be added to this
+ * variable, the result of which is that system_file_download() grants public
+ * access to all files within that scheme.
+ */
+# $settings['file_additional_public_schemes'] = ['example'];
+
 /**
  * Private file path:
  *
@@ -703,6 +726,8 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
  * @endcode
  * will allow the site to run off of all variants of example.com and
  * example.org, with all subdomains included.
+ *
+ * @see https://www.drupal.org/docs/installing-drupal/trusted-host-settings
  */
 
 /**

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


+ 68 - 17
web/themes/custom/popsu/lib/script.js

@@ -79,9 +79,10 @@ $(function(){
 			{
 				breakpoint: 800,
 				settings: {
-					slidesToShow: 2,
+					slidesToShow: 1,
   					slidesToScroll: 1,
-					centerPadding: '0',
+					centerPadding: '40px',
+					centerMode: true,
 				}
 			  }]
 	});
@@ -95,6 +96,16 @@ $(function(){
 			centerMode: false,
 			centerPadding: '60px',
 			infinite: false,
+			responsive: [
+				{
+					breakpoint: 800,
+					settings: {
+						slidesToShow: 1,
+						slidesToScroll: 1,
+						centerMode: true,
+						centerPadding: '30px',
+					}
+			}]
 		});	
 		elem = $("#actus_blocks-block_1").find("footer").detach();
 		$("#actus_blocks-block_1").append(elem);
@@ -104,6 +115,16 @@ $(function(){
 			centerMode: false,
 			centerPadding: '60px',
 			infinite: false,
+			responsive: [
+				{
+					breakpoint: 800,
+					settings: {
+						slidesToShow: 1,
+						slidesToScroll: 1,
+						centerMode: true,
+						centerPadding: '30px',
+					}
+			}]
 			
 		});	
 		
@@ -113,6 +134,15 @@ $(function(){
 			centerMode: false,
 			centerPadding: '60px',
 			infinite: false,
+			responsive: [
+				{
+					breakpoint: 800,
+					settings: {
+						slidesToShow: 1,
+						slidesToScroll: 1,
+						centerPadding: '0',
+					}
+			}]
 		});
 		
 	}
@@ -125,7 +155,17 @@ $(function(){
 			slidesToShow: 3,
 			slidesToScroll: 1,
 			centerMode: false,
-			centerPadding: '60px'
+			centerPadding: '60px',
+			responsive: [
+				{
+					breakpoint: 800,
+					settings: {
+						slidesToShow: 1,
+						slidesToScroll: 1,
+						centerMode: true,
+						centerPadding: '30px',
+					}
+				  }]
 		});
 	}
 	
@@ -304,8 +344,13 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
 	});
 	let elem = "<div class='main_logo'></div>"
 	
-	if( $("body").hasClass("programme-6") || $("body").hasClass("programme-27") ){
-		$('#projets-block_2').prepend(elem);
+	if( $("body").hasClass("programme-7") || $("body").hasClass("programme-6") || $("body").hasClass("programme-27") ){
+		if(mobile != true){
+			$('#projets-block_2').prepend(elem);
+		}else{
+			$('#projets-block_2').append(elem);
+			$(".main_logo").css("position","relative");
+		}
 	}else{
 		$('#projets-block_2').append(elem);
 		$(".main_logo").css("position","relative")
@@ -319,17 +364,7 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
 		$(this).toggleClass("rotate");
 
 	});
-	//oucvrir le premier 
-	// $(".field_titre")[0].click();
-
-	// $(".field_equipes").parent().find("h2").on("click",  function(){
-	// 	$(this).toggleClass("rotate");
-	// 	if($(".field_equipes").is(":visible")){
-	// 		$(".field_equipes").fadeOut("slow");
-	// 	}else{
-	// 		$(".field_equipes").fadeIn("slow");
-	// 	}
-	// });
+
 	$(".field_partenaires").parent().find("h2").on("click",  function(){
 		$(this).toggleClass("rotate");
 		if($(".field_partenaires").is(":visible")){
@@ -341,6 +376,17 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
 		}
 	});
 
+	$(".field_equipes").parent().find("h2").on("click",  function(){
+		$(this).toggleClass("rotate");
+		if($(".field_equipes").is(":visible")){
+			$(".field_equipes").fadeOut("slow");
+		}else{
+			$(".field_equipes").fadeIn("slow", function(){
+				$(this).css("display","grid")
+			});
+		}
+	});
+
 	$(".block-region-second .body").on("click", ".more", function(){
 		
 		$(".body").toggleClass("body_open");
@@ -351,7 +397,7 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
 		}
 		
 	});
-	console.log($(".block-region-second .field_ressources_liees>div:nth-of-type(2)"));
+
 	$(".layout__region--bottom .field_ressources_liees>div:nth-of-type(2)").slick({
 		slidesToShow: 3,
 		slidesToScroll: 1,
@@ -395,5 +441,10 @@ if($(".page-node-type-static").length > 0){
 	});
 }
 
+//hide empty or unclickable sidebar 
+if($(".block-region-first").find("a").length == 0 ){
+	$(".block-region-first").hide();
+};
+
 	
 });

+ 2 - 2
web/themes/custom/popsu/partials/header.html.twig

@@ -1,9 +1,9 @@
 <header role="banner" class="columns small-12">
     <section id="header-top" class="row align-middle">
-      <div id="header-top-left" class="columns medium-4 small-3">
+      <div id="header-top-left" class="columns medium-4 small-4">
         {{ page.header_top_left }}
       </div>
-      <div id="header-top-middle" class="columns small-7">
+      <div id="header-top-middle" class="columns medium-7 small-6">
         {{ page.header_top_middle }}
       </div>
       <div id="header-top-right" class="columns small-1">

+ 12 - 0
web/themes/custom/popsu/popsu.theme

@@ -13,7 +13,19 @@ use Drupal\Core\Url;
 // }
 
 function popsu_preprocess_html(&$variables) {
+
   $node = \Drupal::routeMatch()->getParameter('node');
+  // $type = $node->getType();
+ 
+  //
+  $frontpage = \Drupal::service('path.matcher')->isFrontPage();
+  $variables['head_title']['slogan'] = \Drupal::config('system.site')->get('slogan');
+  //var_dump($variables['head_title']);
+  if( $frontpage == true){
+   $variables['head_title'] = $variables['head_title']["name"]." | ".$variables['head_title']['slogan'];
+  }else{
+    $variables['head_title'] = $variables['head_title']["name"];
+  }
   if ($node){
     if($node->hasField('field_programme') && $node->get('field_programme')->getString() != ""){
       $variables['attributes']['class'][] = 'programme-' . $node->get('field_programme')->getString();

+ 5 - 0
web/themes/custom/popsu/sass/pages/_actu.scss

@@ -14,6 +14,11 @@
 				h2{
 					grid-column: 2 ;
 					padding: 0 0 0 20px;
+					@include breakpoint(small down) {
+						grid-column: 1 / span 2;
+						padding: 0 0 0 0px;
+						text-align: center;
+					}
 				}
 				div{
 					grid-column: 2;

+ 7 - 1
web/themes/custom/popsu/sass/pages/_default.scss

@@ -31,11 +31,12 @@ article, .paragraph{
     text-decoration: none;
     text-transform: uppercase;
 
+}
+.block-region-bottom .prog-ressources-link{
     &:hover{
         color:black;
         background: white;
     }
-
 }
 
 
@@ -116,6 +117,10 @@ article, .paragraph{
         padding: 1rem;
         position: sticky;
         top: 3rem;
+        @include breakpoint(small down) {
+            grid-column-start: 1;
+            top: 0;
+        }
         .field_titre{
             font-size: $font-normal;
             font-weight: 600;
@@ -242,6 +247,7 @@ article, .paragraph{
 }
 
 .page-node-type-actualite, .page-node-type-evenement{
+    
     .block-region-first{
         background-color: black;
         color: white;

+ 21 - 0
web/themes/custom/popsu/sass/pages/_home.scss

@@ -549,6 +549,9 @@
 		// background: center / 45% no-repeat url(../images/POPSU_1.svg) white;
 		img{
 			width: 45%;
+			@include breakpoint(small down) {
+				width: 100%;
+			}
 		}
 		&:hover{
 			background: $col-1;
@@ -562,6 +565,9 @@
 		// background: center / 45% no-repeat url(../images/POPSU_2.svg) white;
 		img{
 			width: 45%;
+			@include breakpoint(small down) {
+				width: 100%;
+			}
 		}
 		
 		&:hover{
@@ -575,6 +581,9 @@
 		// background: center / 50% no-repeat url(../images/POPSU_Europe.svg) white;
 		img{
 			width: 45%;
+			@include breakpoint(small down) {
+				width: 100%;
+			}
 		}
 		&:hover{
 			background: $col-eur;
@@ -587,6 +596,9 @@
 		// background: center / 50% no-repeat url(../images/POPSU_Europe.svg) white;
 		img{
 			width: 45%;
+			@include breakpoint(small down) {
+				width: 100%;
+			}
 		}
 		&:hover{
 			background: $col-1;
@@ -599,6 +611,9 @@
 		// background: center / 45% no-repeat url(../images/POPSU_monde.svg) white;
 		img{
 			width: 46%;
+			@include breakpoint(small down) {
+				width: 100%;
+			}
 		}
 		&:hover{
 			background: $col-mond;
@@ -611,6 +626,9 @@
 		// background: center / 45% no-repeat url(../images/POPSU_territoires.svg) white;
 		img{
 			width: 45%;
+			@include breakpoint(small down) {
+				width: 100%;
+			}
 		}
 		&:hover{
 			background: $col-ter;
@@ -623,6 +641,9 @@
 		// background: center / 45% no-repeat url(../images/POPSU_metropoles.svg) white;
 		img{
 			width: 45%;
+			@include breakpoint(small down) {
+				width: 100%;
+			}
 		}
 		&:hover{
 			background: $col-met;

+ 4 - 4
web/themes/custom/popsu/sass/pages/_node-evenement-actu.scss

@@ -60,7 +60,7 @@
             }
             .views-row, .view-grouping{
                 display: none;
-                padding: 0 0 0 1.2rem;
+                padding: 0 0 0 1.1rem;
                 margin-bottom: .5rem;
                 a{
                     text-decoration: none;
@@ -69,9 +69,9 @@
                     }
                 }
             }
-            .views-row{
-                padding: 0;
-            }
+            // .views-row{
+            //     padding: 0;
+            // }
         }
 
     }

+ 3 - 0
web/themes/custom/popsu/sass/pages/_programme.scss

@@ -78,6 +78,9 @@
         }
         .slick-track{
             height: 40vw;
+            @include breakpoint(small down) {
+                height: 100%;
+            }
         }
         .slick-slide > div{
             height: 100%;

+ 0 - 106
web/themes/custom/popsu/sass/pages/_projet.scss

@@ -1,106 +0,0 @@
-//voir theme
-
-//page ville sidebar 
-
-.programme-1{
-    
-    .block-region-third .field_ressources_liees{
-        background: $col-2;
-    }
-}
-.programme-2{
-    
-    .block-region-third .field_ressources_liees{
-        background: $col-2;
-    }
-}
-.programme-3{
-    .block-region-third .field_ressources_liees{
-        background: $col-eur;
-    }
-}
-.programme-4{
-    .block-region-third .field_ressources_liees{
-        background: $col-1;
-    }
-}
-.programme-5{
-    .block-region-third .field_ressources_liees{
-        background: $col-mond;
-    }
-    
-}
-.programme-6{
-    .block-region-third .field_ressources_liees{
-        background: $col-ter;
-    }
-}
-.programme-7{
-    .block-region-third .field_ressources_liees{
-        background: $col-met;
-    }
-}
-.block-region-third{
-    background-color: $bck-col;
-    .field_evenements_lies, .field_ressources_liees{
-        color: white !important;
-        a{
-            text-decoration: none;
-        }
-        article{
-            display: grid;
-            padding-top: .5rem;
-            padding-bottom: .5rem;
-            
-            .field_programme{
-                display: none;
-                // display: inline-block;
-                // width: auto;
-                
-                // color: transparent;
-                // font-weight: 600;
-                // text-transform: uppercase;
-                // font-size: .5rem;
-                // a{
-                //     padding: .3rem .5rem;
-                // }
-            }
-            .field_sous_titre{
-                color: white !important;
-            }
-            h2{
-                text-transform: uppercase;
-                color: white !important;
-                grid-row: 2;
-                background: none;
-                font-size: $font-normal;
-                margin: 0;
-            
-            }
-
-            &.programme-1{
-                background: $col-1;
-            }
-            &.programme-2{
-                background: $col-2;
-            }
-            &.programme-3{
-                background: $col-eur;
-            }
-            &.programme-4{
-                background: $col-ter;
-            }
-            &.programme-5{
-                background: $col-mond;
-            }
-            &.programme-6{
-                background: $col-ter;
-            }
-            &.programme-7{
-                background: $col-met;
-            }
-
-        }
-
-    }
-}

+ 103 - 13
web/themes/custom/popsu/sass/pages/_ressources.scss

@@ -1,9 +1,9 @@
+
+// page centre de ressources 
+// & ressource simple 
+
+// ressourceS
 .path-centre-de-ressources{
-	// //tmp 
-	// .slick-slider{
-	// 	display: none;
-	// }
-	//colo programme 
 	
 	.programme-1{
 		color: $col-1;
@@ -162,6 +162,7 @@
 					align-self: baseline;
 				}
 				.views-field-field-theme{
+					text-transform: uppercase;
 					grid-row: 7 / span 1;
 					grid-column: 1 / span 2;
 					font-size: $font-small;
@@ -212,6 +213,7 @@
 					
 				}
 				.views-field-field-theme{
+					text-transform: uppercase;
 					.field-content{
 						color:black;
 					}
@@ -239,6 +241,7 @@
 					align-self: baseline;
 				}
 				.views-field-field-theme{
+					text-transform: uppercase;
 					// grid-row: 5 / span 1;
 					// grid-column: 1 / span 2;
 					font-size: $font-small;
@@ -246,6 +249,9 @@
 				}
 			}
 		}
+		.slick-slider{
+			overflow: hidden;
+		}
 		.slick-arrow{
 			position: absolute;
 			height: 100%;
@@ -281,6 +287,10 @@
 		//margin-top: -3rem;
 		column-gap: 1rem;
 		grid-template-columns: calc(10% - 3em) repeat(4, 20%);
+		@include breakpoint(small down) {
+			display: block;
+			padding: 1rem ;
+		}
 		&>div:first-child{
 			grid-column-start: 2;
 		}
@@ -340,6 +350,14 @@
 			align-items: flex-start;
 			.views-col:first-child{
 				grid-column-start: 2;
+				@include breakpoint(small down) {
+					grid-column-start: 1;
+				}
+			}
+			@include breakpoint(small down) {
+				grid-template-columns:  repeat(1, 88%);
+				column-gap: 0;
+				padding: 0 0 0 1.5rem;
 			}
 		}
 		.views-col:not(.type-74){
@@ -412,6 +430,7 @@
 				align-self: baseline;
 			}
 			.views-field-field-theme{
+				text-transform: uppercase;
 				grid-row: 7 / span 1;
 				grid-column: 1 / span 2;
 				font-size: $font-small;
@@ -460,6 +479,7 @@
 				
 			}
 			.views-field-field-theme{
+				text-transform: uppercase;
 				.field-content{
 					color:black;
 				}
@@ -486,6 +506,7 @@
 				align-self: baseline;
 			}
 			.views-field-field-theme{
+				text-transform: uppercase;
 				// grid-row: 5 / span 1;
 				// grid-column: 1 / span 2;
 				font-size: $font-small;
@@ -592,9 +613,43 @@
 				background: $col-met ;                
 		}
 	}
+	// Copy from themes
+	// .block-region-first{
+    //     // .field_programme{
+    //     //     display: none;
+    //     // }
 
-	
+    //     // #programme_toc-block_10{
+	// 	// 	.views-row{
+	// 	// 		padding-left: 1rem;
+	// 	// 	}
+	// 	// }
+    //     // @include breakpoint(small down) {
+    //     //     text-align: center;
 
+    //     // }
+    //     // position: absolute;
+        
+    //     // top: 0;
+    //     // left: 0;
+    //     padding: 1rem 1.5rem ;
+    //     .body{
+            
+    //         cursor: pointer;
+    //         transition: all 250ms;
+    //         text-decoration: none;
+    //         // &:hover{
+    //         //     padding: 0 0 0 .3rem;
+                    
+    //         // }
+	// 		a{
+	// 			font-family: "duke";
+    //        		font-size: $font-large;
+	// 		}
+    //     }
+
+    // }
+	// Copy from themes end
 	.block-region-second{
 		display: grid;
 		grid-template-columns: repeat(10, 8%);
@@ -622,12 +677,16 @@
 			font-style: italic;
             margin-bottom: 1rem;
 			//grid-row: 3;
-			grid-row: auto / span 1;
+			grid-row: auto / span 2;
 			grid-column: 4 / span 6;
 			
 			margin: 0;
 			
         }
+		#node\:field_sous_titre{
+			grid-row: auto / span 2;
+			grid-column: 4 / span 6;
+		}
 		#node\:field_image{
 			grid-column: 1 / span 3;
 			grid-row: 2 / span 4;
@@ -642,6 +701,11 @@
 			.field_auteurs{
 				font-weight: 600;
 				font-size: $font-medium;
+				p{
+					position: relative;
+					float: left;
+					margin-right: .4rem;
+				}
 			}
 		}
 		#node\:body{
@@ -678,10 +742,15 @@
 		}
 		#node\:field_collections{
 			//grid-row: 5;
-			grid-row: auto / span 1;
+			grid-row: 3 / span 1;
 			grid-column: 4 / span 6;
 			font-size: $font-medium;
 		}
+		#node\:field_sous_titre{
+			grid-row: auto / span 1;
+			grid-column: 4/ span 6 ;
+			font-size: $font-medium;
+		}
 		#node\:field_theme{
 			grid-column: 4 / span 6;
 			//grid-row: 6;
@@ -695,16 +764,37 @@
 	.block-region-third{
 		#node\:field_lien{
 			text-transform: uppercase;
-			font-weight: 600;
-			margin-top: 1rem;
-			
+			font-weight: 500;
+			margin-top: 0;
+			.field_lien{
+				>div{
+					padding: 0;
+				}
+			}
+			>div{
+				word-wrap: break-word;
+				padding: 0;
+			}
 			a{
+				display: block;
+				margin: 0 auto;
+				background: #000;
+				color: #fff;
+				font-family: trueno;
+				font-weight: 500;
+				padding: .3rem .7rem;
+				font-size: .45rem;
 				text-decoration: none;
-				padding: .5rem;
-				background: white;
+				text-transform: uppercase;
 			}
 			
 		}
+		#node\:field_evenements_lies{
+			.field_evenements_lies{
+				color: black !important;
+				padding-left: .3rem;
+			}
+		}
 	}
 
 }

+ 163 - 295
web/themes/custom/popsu/sass/pages/_themes.scss

@@ -1,5 +1,5 @@
 .page-node-type-theme, .page-node-type-projet{
-    ///// copy  menu left
+    /////  menu left
     .block-region-first{
         .field_programme{
             display: none;
@@ -10,10 +10,10 @@
 				padding-left: 1rem;
 			}
 		}
-        @include breakpoint(small down) {
-            text-align: center;
+        // @include breakpoint(small down) {
+        //     text-align: center;
 
-        }
+        // }
         position: absolute;
         
         top: 0;
@@ -74,10 +74,8 @@
         }
 
     }
-
-
-
-    /////fin copy  menu left
+    /////fin menu left
+    // couleur popsu 
     .field_logo{
         display: block;
     }
@@ -104,6 +102,7 @@
             background: $col-met;
         }
     }
+    //fin couleurp popsu 
     // .block-region-first{
     //     padding: 1rem;
     //     .field_programme{
@@ -119,27 +118,7 @@
     //     }
     // }
 
-    .block-region-third{
-        margin-top: 20rem;
-        #node\:field_equipes{
-           // visibility: hidden;
-        }
-        #node\:field_evenements_lies{
-            article{
-                display: grid;
-                >div{
-                    //vgrid-row: 1;
-                    text-transform: none;
-                    color: #fff !important;
-                    background: none;
-                    font-size: .6rem;
-                    margin: 0;
-                    padding: .1rem 1rem;
-
-                }
-            }
-        }
-    }
+    //contenu
     .block-region-second{
         #node\:title:before{
             clear: both;
@@ -178,7 +157,7 @@
             margin-bottom: 1rem;
         }
         
-        #node\:field_image,.field_diaporama{
+        #node\:field_image,.field_diaporama,.field_image{
             width: 150%;
             
             margin-bottom: 1rem;
@@ -322,8 +301,57 @@
                 }
             }
         }
+        .paragraph--type--equipes{
+            .field_type_equipe{
+                margin: .8rem 0 .3rem 0;
+            }
+        }
+        
+        .paragraph--type--personne{
+            //background-color: red;
+            display: flex;
+            flex-wrap: wrap;
+            .field_nom, .field_prenom{
+                font-weight: 600;
+            }
+           
+            .field_fonction{
+                width: 100%;
+            }
+            .field_nom{
+                margin-left: .2rem;
+            }
+        }
+    }
+    //end contenus central 
+
+    //menu droite
+    .block-region-third{
+        margin-top: 19rem;
+        @include breakpoint(small down) {
+            margin-top: 2rem;
+        }
+        #node\:field_evenements_lies{
+            article{
+                display: grid;
+                >div{
+                    //vgrid-row: 1;
+                    text-transform: none;
+                    color: #fff !important;
+                    background: none;
+                    font-size: .6rem;
+                    margin: 0;
+                    padding: .1rem 1rem;
+
+                }
+            }
+        }
     }
+    // fin menu droite
     
+    
+    // gallery de projet sous contenu du théme / ville
+
     .block-region-bottom{
         #node\:field_projets_lies, #node\:field_themes_lies,  #node\:field_comparatifs_associes{
             h2{
@@ -333,8 +361,13 @@
                 margin-top: 1rem;
                 display: grid;
                 grid-template-columns: repeat(5, 1fr);
+                
                 column-gap: 1rem;
                 padding: 0 10%;
+
+                @include breakpoint(small down) {
+                    grid-template-columns: repeat(2, 1fr);
+                }
             }
             article{
                 margin-bottom: 1.6rem;
@@ -346,102 +379,6 @@
     }
 
 
-   
-    // #node\:field_equipes{
-    //     padding: 1rem 0;
-    //     border-bottom: 3px dotted gray;
-    //     h2{
-    //         cursor: pointer;
-    //         display: grid;
-    //         grid-template-columns: 95% 5%;
-    //         align-content: center;
-    //         font-family: "trueno";
-    //         font-size: 1rem;
-    //         font-weight: 600;
-    //         text-transform: initial;
-            
-    //         // text-align: center;
-    //     }
-
-        // h2:after{
-        //     content: '▼';
-        //     -webkit-transition: all 250ms ease;
-        //     -moz-transition: all 250ms ease;
-        //     -o-transition: all 250ms ease;
-        //     transition: all 250ms ease;
-        //     align-self: center;
-        //     justify-self: center;
-        //     font-size: $font-big;
-        // }
-        // .rotate:after{
-        //     transform: rotate(180deg);
-        //     -webkit-transition: all 250ms ease;
-        //     -moz-transition: all 250ms ease;
-        //     -o-transition: all 250ms ease;
-        //     transition: all 250ms ease;
-        // }
-    //     .field_equipes{
-    //         display: none;
-    //        .paragraph{
-    //             display: grid;
-    //             .field_membres{
-    //                 grid-row: 2;
-    //                 // >div:first-child{
-    //                 //     display: none;
-    //                 // }
-    //                 .paragraph{
-    //                     display: grid;
-    //                     grid-template-columns: auto 1fr;
-    //                     .field_nom{
-    //                         grid-column: 2;
-    //                         grid-row: 1;
-    //                         padding-left: .3rem;
-    //                         display: inline-block;
-    //                         width: auto;
-    //                         font-weight: 500;
-    //                         >div:first-child{
-    //                             display: none;
-    //                         }
-    //                         div:nth-of-type(2){
-    //                             display: inline-block;
-    //                             width: auto;                                
-    //                         }
-    //                     }
-    //                     .field_prenom{
-    //                         grid-column: 1;
-    //                         grid-row: 1;
-    //                         display: inline-block;
-    //                         font-weight: 500;
-    //                         >div:first-child{
-    //                             display: none;
-    //                         }
-    //                         div:nth-of-type(2){
-    //                             display: inline-block;
-    //                             width: auto;                                
-    //                         }
-    //                     }
-    //                     .field_fonction{
-    //                         grid-column: 1 / span 2;
-    //                         >div:first-child{
-    //                             display: none;
-    //                         }
-    //                     }
-    //                     margin-bottom: .3rem;
-    //                 }
-    //                 margin-bottom: .5rem;
-    //             }
-    //             .field_type_equipe{
-    //                 grid-row: 1;
-    //                 font-weight: 600;
-    //                 font-size: $font-medium;
-    //                 margin-bottom: .5rem;
-    //                 div:first-child{
-    //                     display: none;
-    //                 }
-    //             }
-    //         }
-    //     }
-    // }
     #node\:field_partenaires{
         h2{
             // color: black;
@@ -572,15 +509,56 @@
     
     
 }
+.page-node-type-projet, .page-node-type-theme{
+    #node\:field_equipes{
+        border-bottom: 3px dotted gray;
+        padding: 0 0 1rem 0;
+        h2{
+            font-family: "trueno" !important;
+            font-size: $font-big;
+            font-weight: 600;
+            text-transform: initial;
+            cursor: pointer;
+            display: grid;
+            grid-template-columns: 95% 5%;
+            align-content: center;
+            margin: 1rem 0 0 0;
+        }
 
-
-.page-node-type-projet{
-    #node\:title:before{
-        content: "ville";
+        h2:after{
+            content: '▼';
+            -webkit-transition: all 250ms ease;
+            -moz-transition: all 250ms ease;
+            -o-transition: all 250ms ease;
+            transition: all 250ms ease;
+            align-self: center;
+            justify-self: center;
+        }
+        // h2:after{
+        //     transform: rotate(180deg);
+        //     -webkit-transition: all 250ms ease;
+        //     -moz-transition: all 250ms ease;
+        //     -o-transition: all 250ms ease;
+        //     transition: all 250ms ease;
+        // }
+        .rotate:after{
+            transform: rotate(180deg);
+            -webkit-transition: all 250ms ease;
+            -moz-transition: all 250ms ease;
+            -o-transition: all 250ms ease;
+            transition: all 250ms ease;
+        }
+        .field_type_equipe{
+           font-weight: 500; 
+        }
+        .field_equipes{
+            display: none;
+        }
     }
     .field_projets_lies, .field_themes_lies, .field_comparatifs_associes{
         article{
             display: grid;
+            min-height: 4rem;
             h2{
                 grid-row: 2;
                 text-align: left !important;
@@ -597,11 +575,11 @@
                 }
             }
             
-            .field_diaporama {
+            .field_diaporama,.field_image {
                 position: relative;
                 width: 100%;
                 overflow: hidden;
-                margin-top: -.5rem;
+                margin-top: .5rem;
                 z-index: -1;
                 a{
                     position: absolute;
@@ -615,7 +593,7 @@
                     }
                 }
             }
-            .field_diaporama:after {
+            .field_diaporama:after, .field_image:after {
                 content: "";
                 display: block;
                 padding-top: 100%;
@@ -626,17 +604,21 @@
                 text-transform: uppercase;
                 font-weight: 600;
                 
-                grid-column: 1;
-                grid-row: 1;
-                margin-bottom: -.5rem;
+                // grid-column: 1;
+                // grid-row: 1;
+                // margin-bottom: -.5rem;
                 color: #fff;
-                display: grid;
-                grid-template-columns: 1fr 1fr;
-                grid-gap: 10px;
+                // display: grid;
+                // grid-template-columns: 1fr;
+                // grid-gap: 10px;
                 z-index: 100;
-                position: relative;
+                position: absolute;
                 div{
                     padding: .02rem .3rem;
+                    position: relative;
+                    float: left;
+                    clear: both;
+                    margin: .1rem 0 .1rem 0;
                 }
                 a{
                     text-decoration: none;
@@ -712,169 +694,55 @@
         }
     }
 }
-.page-node-type-theme{
+
+.page-node-type-projet{
     #node\:title:before{
-        content: "thème";
-    }
-    #node\:field_equipes{
-        h2{
-            color: white !important;
-            text-align: left !important;
-            cursor: pointer;
-            
-        }
-        
+        content: "ville";
     }
-    .block-region-third{
-        #node\:field_partenaires{
-            h2{
-                border:none;
-                font-family: trueno;
-                font-size: .8rem;
-                font-weight: 600;
-                margin-top: 0;
-                padding: .4rem 0.5rem;
-                display: block;
-                &:after{
-                    display:none;
-                }
-            }
-            .field_partenaires{
-                display: grid;
-            }
+    #node\:field_ressources_liees{
+        .field_ressources_liees{
+            color:black ;
         }
     }
     
-    .field_projets_lies, .field_themes_lies{
-        article{
-            display: grid;
-            h2{
-                grid-row: 2;
-                text-align: left !important;
-                text-transform: none !important;
-                line-height: 1.3;
-                margin: .5rem 0 0 0;
-                font-size: $font-normal;
-                font-weight: 400;
-                a{
-                    text-decoration: none;
-                    &:hover{
-                        text-decoration: underline;
-                    }
-                }
-            }
-            
-            .field_diaporama {
-                position: relative;
-                width: 100%;
-                overflow: hidden;
-                margin-top: -.5rem;
-                z-index: -1;
-                a{
-                    position: absolute;
-                    height: 100%;
-                    width: 100%;
-                    object-fit: cover;
-                    img{
-                       height: 100% ;
-                       width: 100%;
-                       object-fit: cover;
-                    }
-                }
-            }
-            .field_diaporama:after {
-                content: "";
-                display: block;
-                padding-top: 100%;
-
-            }
-
-            .field_programme{
-                text-transform: uppercase;
-                display: inline-block;
-                font-weight: 600;
-                
-                padding: .02rem .3rem;
-                grid-column: 1;
-                grid-row: 1;
-                z-index: 1;
-                margin-bottom: -.5rem;
-                margin-left: .2rem;
-                
-                color: white;
-                a{
-                    text-decoration: none;
-                }
-            }
-
-        //// prog color
-        &.programme-1{
-            h2{ 
-                color: $col-1 !important;
-            }
-            .field_programme{
-                background: $col-1 ;
-            }
-        }
-        &.programme-2{
-            h2{
-                color: $col-2 !important;
-            }
-            .field_programme{
-                background: $col-2 ;
-            }
-        }
-        &.programme-3{
-
-            h2{
-                color: $col-eur !important;
-            }
-            .field_programme{
-                background: $col-eur ;
-                
-            }
-        }
-        &.programme-4{
-            h2{ 
-                color: $col-1;
-            }
-            .field_programme{
-                background:$col-1 ;
-                
-            }
-        }
-        
-        &.programme-5{
-            
-            h2{
-                color: $col-mond !important;
-            }
-            .field_programme{
-                background: $col-mond ;
-            }
-        }
-        &.programme-6{
+    
+}
 
-            h2{
-                color: $col-ter !important;
-            }
-            .field_programme{
-                    background: $col-ter ;
-            }
 
-        }
-        &.programme-7{
-            h2{
-                color: $col-met !important;
-            }
-            .field_programme{
-                    background: $col-met ;                
-            }
-        }
-            
-            
-        }
+.page-node-type-theme{
+    #node\:title:before{
+        content: "thème";
     }
+    // #node\:field_equipes{
+    //     h2{
+    //         color: white !important;
+    //         text-align: left !important;
+    //         cursor: pointer;
+            
+    //     }
+        
+    // }
+    // .block-region-third{
+    //     #node\:field_partenaires{
+    //         h2{
+    //             border:none;
+    //             font-family: trueno;
+    //             font-size: .8rem;
+    //             font-weight: 600;
+    //             margin-top: 0;
+    //             padding: .4rem 0.5rem;
+    //             display: block;
+    //             &:after{
+    //                 display:none;
+    //             }
+    //         }
+    //         .field_partenaires{
+    //             display: grid;
+    //         }
+    //     }
+    // }
+    
+    // si ressources affichée dans page théme
     #node\:field_ressources_liees{
         background: $trame;
         // h2{

+ 5 - 0
web/themes/custom/popsu/sass/pages/partials/_header_footer.scss

@@ -145,6 +145,8 @@
 	column-gap: 10px;
 	&>div[id='']{
 		height: 100%;
+		font-size: 0;
+		
 	}
 	
 	
@@ -156,6 +158,9 @@
 		color: transparent;
 		background: left / contain no-repeat url(../../images/POPSU_logo.svg);
 	}
+	@include breakpoint(small down) {
+		grid-template-columns: 1fr 1fr;
+	}
 }
 
 .header_top_middle_container{

+ 95 - 0
web/themes/custom/popsu/sass/pages/partials/_villes_sidebar.scss

@@ -0,0 +1,95 @@
+//page ville sidebar 
+.page-node-type-projet{
+    .programme-1{
+        
+        .block-region-third .field_ressources_liees{
+            background: $col-2;
+        }
+    }
+    .programme-2{
+        
+        .block-region-third .field_ressources_liees{
+            background: $col-2;
+        }
+    }
+    .programme-3{
+        .block-region-third .field_ressources_liees{
+            background: $col-eur;
+        }
+    }
+    .programme-4{
+        .block-region-third .field_ressources_liees{
+            background: $col-1;
+        }
+    }
+    .programme-5{
+        .block-region-third .field_ressources_liees{
+            background: $col-mond;
+        }
+        
+    }
+    .programme-6{
+        .block-region-third .field_ressources_liees{
+            background: $col-ter;
+        }
+    }
+    .programme-7{
+        .block-region-third .field_ressources_liees{
+            background: $col-met;
+        }
+    }
+    .block-region-third{
+        background-color: $bck-col;
+        .field_evenements_lies, .field_ressources_liees{
+            color: white;
+            a{
+                text-decoration: none;
+            }
+            article{
+                display: grid;
+                padding-top: .5rem;
+                padding-bottom: .5rem;
+                
+                .field_programme{
+                    display: none;
+                }
+                .field_sous_titre{
+                    color: white !important;
+                }
+                h2{
+                    text-transform: uppercase;
+                    color: white !important;
+                    grid-row: 2;
+                    background: none;
+                    font-size: $font-normal;
+                    margin: 0;
+                
+                }
+
+                &.programme-1{
+                    background: $col-1;
+                }
+                &.programme-2{
+                    background: $col-2;
+                }
+                &.programme-3{
+                    background: $col-eur;
+                }
+                &.programme-4{
+                    background: $col-ter;
+                }
+                &.programme-5{
+                    background: $col-mond;
+                }
+                &.programme-6{
+                    background: $col-ter;
+                }
+                &.programme-7{
+                    background: $col-met;
+                }
+
+            }
+
+        }
+    }
+}

+ 28 - 23
web/themes/custom/popsu/sass/setup/_globals.scss

@@ -77,10 +77,7 @@ body{
 		}
 	}
 }
-.slick-track{
-display: flex;
-align-items: center;
-}
+
 main{
 	h2{
 		text-transform: uppercase;
@@ -91,31 +88,20 @@ main{
 a{
 	color:inherit;
 }
-// .ext{
-// 	display: none;
-// }
-
-.block-region-first{
-    #node\:field_programme{
-		.field_programme{
-			*{
-				background: none !important;
-			}
-		}
-	}
-}
-.footer_bottom_right_container{
-	.ext{
-		display: none;
-	}	
-}
 strong, b{
 	font-weight: 600;
 }
+
 i, em{
 	font-style: italic;
 }
 
+// slick carrousel
+
+.slick-track{
+	display: flex;
+	align-items: center;
+}
 
 .slick-arrow{
 	font-size: 0;
@@ -150,6 +136,23 @@ i, em{
     transform: rotate(180deg);
 }
 
+// end carousel
+
+.block-region-first{
+    #node\:field_programme{
+		.field_programme{
+			*{
+				background: none !important;
+			}
+		}
+	}
+}
+
+.footer_bottom_right_container{
+	.ext{
+		display: none;
+	}	
+}
 
 
 //map 
@@ -216,4 +219,6 @@ i, em{
 		}
 	}
 	
-}
+}
+
+//end map

+ 3 - 3
web/themes/custom/popsu/sass/setup/_layouts.scss

@@ -1,3 +1,5 @@
+// general layout
+
 .layout--threecol-25-50-25{
 	display: grid;
 	grid-template-columns: 20% minmax(0,1fr) 20%;
@@ -7,9 +9,7 @@
     position: relative;
   
 }
-.layout-content{
-    // padding-bottom: 4rem;
-}
+
 .layout__region--bottom{
     grid-column: 1 /span 3;
 }

+ 1 - 1
web/themes/custom/popsu/sass/styles.scss

@@ -26,6 +26,7 @@
 
 /*pages*/
 @import "pages/partials/header_footer";
+@import "pages/partials/villes_sidebar";
 @import "pages/home";
 @import "pages/ressources";
 @import "pages/default";
@@ -34,5 +35,4 @@
 @import "pages/archives";
 @import "pages/node-evenement-actu";
 @import "pages/themes";
-@import "pages/projet";
 

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác