Skip to content

Commit

Permalink
Merge pull request #383 from UN-OCHA/develop
Browse files Browse the repository at this point in the history
Blog Design Changes
  • Loading branch information
maheshtrigyn authored Dec 20, 2023
2 parents 0ca0489 + fbafa37 commit 1547275
Show file tree
Hide file tree
Showing 20 changed files with 1,094 additions and 463 deletions.
752 changes: 398 additions & 354 deletions composer.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions composer.patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"drupal/entity_browser": {
"expects parameter 1 to be array": "PATCHES/entity_browser/entity_browser-key-2914385-6.patch"
},
"drupal/features": {
"features patch for deprication warning": "PATCHES/features/3375425-deprication-warning-features.patch"
},
"drupal/google_tag": {
"Error during cache rebuild when assets are stored on NFS": "PATCHES/google_tag/3250315-google-tag-nfs-locks-5.patch"
},
Expand Down
5 changes: 5 additions & 0 deletions config/block.block.breadcrumbs_4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
module:
- block_class
- node
- system
theme:
Expand All @@ -26,3 +27,7 @@ visibility:
node: '@node.node_route_context:node'
bundles:
blog_entry: blog_entry
request_path:
id: request_path
negate: true
pages: '/content*'
41 changes: 41 additions & 0 deletions config/block.block.custombot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
uuid: 9f019cee-c403-4ddb-8923-af200b182c9d
langcode: en
status: true
dependencies:
content:
- 'block_content:basic:2097942c-6b8b-44f2-82a5-988b4dcc6d97'
module:
- block_class
- block_content
- node
- system
theme:
- gms_ocha_common
id: custombot
theme: gms_ocha_common
region: footer_navigation
weight: 0
provider: null
plugin: 'block_content:2097942c-6b8b-44f2-82a5-988b4dcc6d97'
settings:
id: 'block_content:2097942c-6b8b-44f2-82a5-988b4dcc6d97'
label: 'Custom Bot'
label_display: '0'
provider: block_content
status: true
info: ''
view_mode: full
visibility:
request_path:
id: request_path
negate: true
pages: "<front>\r\n/content/gms-blog\r\n/content/contact-information\r\n/content/terms-and-conditions-use\r\n/content/privacy-statement"
'entity_bundle:node':
id: 'entity_bundle:node'
negate: false
context_mapping:
node: '@node.node_route_context:node'
bundles:
duel_reference: duel_reference
page: page
static_page: static_page
12 changes: 11 additions & 1 deletion config/block.block.pagetitleblog_4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ langcode: en
status: true
dependencies:
module:
- block_class
- gms_ocha
- node
- system
theme:
- gms_ocha_common
Expand All @@ -22,4 +24,12 @@ visibility:
request_path:
id: request_path
negate: true
pages: "/content/home\r\n<front>\r\n/content/cerf\r\n/content/cbpf\r\n/content/gms-one"
pages: "/content/home\r\n<front>\r\n/content/cerf\r\n/content/cbpf\r\n/content/gms-one\r\n/content/gms-blog"
'entity_bundle:node':
id: 'entity_bundle:node'
negate: false
context_mapping:
node: '@node.node_route_context:node'
bundles:
page: page
static_page: static_page
31 changes: 31 additions & 0 deletions config/block.block.resourcecentersupport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
uuid: ffa5c0d4-d06b-492f-b304-a7ce7209debd
langcode: en
status: true
dependencies:
content:
- 'block_content:basic:e4e97808-1028-4931-a55c-c955a5e2d3d5'
module:
- block_class
- block_content
- system
theme:
- gms_ocha_common
id: resourcecentersupport
theme: gms_ocha_common
region: fluid_content
weight: 0
provider: null
plugin: 'block_content:e4e97808-1028-4931-a55c-c955a5e2d3d5'
settings:
id: 'block_content:e4e97808-1028-4931-a55c-c955a5e2d3d5'
label: 'Resource Center Support'
label_display: '0'
provider: block_content
status: true
info: ''
view_mode: full
visibility:
request_path:
id: request_path
negate: false
pages: /content/gms-one
1 change: 0 additions & 1 deletion config/block.block.rightsidecerfmenu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ langcode: en
status: true
dependencies:
module:
- block_class
- condition_query
- gms_ocha
- node
Expand Down
1 change: 0 additions & 1 deletion config/block.block.rightsidemenu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ langcode: en
status: true
dependencies:
module:
- block_class
- condition_query
- gms_ocha
- node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ dependencies:
config:
- views.view.blog_recent_post
module:
- block_class
- node
- system
- views
theme:
- gms_ocha_common
id: views_block__blog_recent_post_block_1_2
theme: gms_ocha_common
region: sidebar_first
region: sidebar_second
weight: -21
provider: null
plugin: 'views_block:blog_recent_post-block_1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- views.view.blog_taxonomy_view
module:
- block_class
- node
- system
- views
Expand Down Expand Up @@ -35,4 +36,4 @@ visibility:
request_path:
id: request_path
negate: true
pages: "/access-denied\r\n/page-not-found\r\n/content/gms-one"
pages: "/access-denied\r\n/page-not-found\r\n/content/gms-one\r\n/content/gms-blog\r\n/content*"
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- views.view.blog_taxonomy_view
module:
- block_class
- node
- system
- views
Expand Down Expand Up @@ -35,4 +36,4 @@ visibility:
request_path:
id: request_path
negate: true
pages: "/access-denied\r\n/page-not-found\r\n/content/gms-one"
pages: "/access-denied\r\n/page-not-found\r\n/content/gms-one\r\n/content/gms-blog\r\n/content*"
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- views.view.blog_view
module:
- block_class
- system
- views
theme:
Expand All @@ -17,10 +18,10 @@ provider: null
plugin: 'views_block:blog_view-blog_listing_block'
settings:
id: 'views_block:blog_view-blog_listing_block'
label: ''
label_display: '0'
label: 'Featured Posts'
label_display: visible
provider: views
views_label: ''
views_label: 'Featured Posts'
items_per_page: none
visibility:
request_path:
Expand Down
4 changes: 2 additions & 2 deletions config/editor.editor.full_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ settings:
plugins:
ckeditor5_alignment:
enabled_alignments:
- left
- center
- right
- justify
- left
- right
ckeditor5_codeBlock:
languages:
-
Expand Down
2 changes: 1 addition & 1 deletion config/page_specific_class.settings.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
_core:
default_config_hash: WKPJoaS0nZiIboNwD58sBSpxmtib3XbeyMWgbExqsnE
url_with_class: "/content/gms-one|onegms-home-pg\r\n/content/cbpf|cbpf-section\r\n/content/cerf|cerf-section\r\n/glossary/*|glossary-pg\r\n/searchpage|search-pg"
url_with_class: "/content/gms-one|onegms-home-pg\r\n/content/cbpf|cbpf-section\r\n/content/cerf|cerf-section\r\n/glossary/*|glossary-pg\r\n/searchpage|search-pg\r\n/content/gms-one|onegms-support-pg"
6 changes: 3 additions & 3 deletions config/views.view.blog_recent_post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ display:
label: ''
exclude: false
alter:
alter_text: false
text: ''
alter_text: true
text: '<img alt="Blog" data-entity-type="file" src="../../themes/custom/gms_ocha_common/img/blog-icon.png"> {{ title }}'
make_link: false
path: ''
absolute: false
Expand Down Expand Up @@ -64,7 +64,7 @@ display:
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
Expand Down
Loading

0 comments on commit 1547275

Please sign in to comment.