Bladeren bron

contact on footer #1870 bis

bach 3 jaren geleden
bovenliggende
commit
cd0a53de2b

+ 0 - 5
config/sync/block.block.contact.yml

@@ -7,7 +7,6 @@ dependencies:
   module:
     - block_content
     - context
-    - system
   theme:
     - materiotheme
 id: contact
@@ -44,7 +43,3 @@ visibility:
     id: context
     negate: null
     values: ''
-  request_path:
-    id: request_path
-    negate: false
-    pages: '<front>'

+ 8 - 5
config/sync/block.block.simplenewssubscription.yml

@@ -5,7 +5,7 @@ dependencies:
   module:
     - context
     - simplenews
-    - system
+    - user
   theme:
     - materiotheme
 id: simplenewssubscription
@@ -24,7 +24,7 @@ settings:
   default_newsletters:
     materio_newsletter: materio_newsletter
   message: ''
-  show_manage: true
+  show_manage: false
   unique_id: footersimplenewssubscriptionblock
 visibility:
   user_status:
@@ -46,7 +46,10 @@ visibility:
     id: context
     negate: null
     values: ''
-  request_path:
-    id: request_path
+  user_role:
+    id: user_role
     negate: false
-    pages: '<front>'
+    context_mapping:
+      user: '@user.current_user_context:current_user'
+    roles:
+      anonymous: anonymous

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.css


BIN
web/themes/custom/materiotheme/assets/dist/main.css.gz


+ 3 - 0
web/themes/custom/materiotheme/assets/styles/main.scss

@@ -2905,6 +2905,9 @@ footer[role="contentinfo"]{
   // body:not(.path-home) & {
   //   display:none;
   // }
+  body.path-base & {
+    display: none;
+  }
   >.wrapper{
     display:flex;
     flex-flow: row nowrap;

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