瀏覽代碼

Merge branch 'master' of https://figureslibres.io/gogs/bachir/drupal-reha

ouidade 5 月之前
父節點
當前提交
6f4a1a8937

+ 2 - 2
config/sync/core.menu.static_menu_link_overrides.yml

@@ -3,8 +3,8 @@ _core:
 langcode: fr
 definitions:
   contact__site_page:
+    enabled: false
     menu_name: footer
     parent: ''
-    weight: 0
     expanded: false
-    enabled: false
+    weight: 0

+ 11 - 1
config/sync/editor.editor.wysiwyg.yml

@@ -16,6 +16,7 @@ settings:
       - heading
       - bold
       - italic
+      - drupalInsertImage
   plugins:
     ckeditor5_heading:
       enabled_headings:
@@ -24,4 +25,13 @@ settings:
         - heading4
         - heading5
         - heading6
-image_upload: {  }
+    ckeditor5_imageResize:
+      allow_resize: true
+image_upload:
+  status: true
+  scheme: public
+  directory: inline-images
+  max_size: ''
+  max_dimensions:
+    width: 1080
+    height: 1080

File diff suppressed because it is too large
+ 0 - 0
config/sync/field.field.node.operation.field_dossier_de_candidature.yml


+ 3 - 1
config/sync/field.field.node.static.body.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - field.storage.node.body
+    - filter.format.wysiwyg
     - node.type.static
   module:
     - text
@@ -22,5 +23,6 @@ default_value_callback: ''
 settings:
   display_summary: true
   required_summary: false
-  allowed_formats: {  }
+  allowed_formats:
+    - wysiwyg
 field_type: text_with_summary

+ 2 - 2
config/sync/filter.format.wysiwyg.yml

@@ -53,13 +53,13 @@ filters:
   filter_align:
     id: filter_align
     provider: filter
-    status: false
+    status: true
     weight: -41
     settings: {  }
   filter_caption:
     id: filter_caption
     provider: filter
-    status: false
+    status: true
     weight: -40
     settings: {  }
   filter_html_escape:

+ 1 - 1
config/sync/views.view.current_user_block.yml

@@ -562,7 +562,7 @@ display:
           plugin_id: text
           empty: false
           content:
-            value: "<ul>\r\n<li><a href=\"/user/logout\">Deconnexion</a></li>\r\n<li><a href=\"/mes_operations\">Mes operations</a></li>\r\n<li><a href=\"/node/add/operation?destination=/mes_operations\">Ajouter une opération</a></li>\r\n</ul>"
+            value: "<ul>\r\n<li><a href=\"/user/logout\">Déconnexion</a></li>\r\n<li><a href=\"/mes_operations\">Mes opérations</a></li>\r\n<li><a href=\"/node/add/operation?destination=/mes_operations\">Ajouter une opération</a></li>\r\n</ul>"
             format: wysiwyg
           tokenize: false
       display_extenders: {  }

+ 1 - 1
web/themes/custom/reha/reha.theme

@@ -65,7 +65,7 @@ function reha_preprocess_node(&$variables) {
 function reha_preprocess_block(&$variables) {
   if ($variables['plugin_id'] === "user_login_block") {
     $url = new Url('user.register', [], ['query' => ['destination' => '/node/add/operation']]);
-    $link = new Link('proposer une operation', $url);
+    $link = new Link('proposer une opération', $url);
     $variables['content']['reha'] = array(
       '#theme' => 'item_list',
       '#items' => [

Some files were not shown because too many files changed in this diff