Skip to content

Commit

Permalink
Merge pull request #318 from City-of-Helsinki/UHF-9755
Browse files Browse the repository at this point in the history
UHF-9755 Configuration replacement
  • Loading branch information
khalima authored Mar 21, 2024
2 parents ccb0f8c + 4969ffb commit 1e2904c
Show file tree
Hide file tree
Showing 52 changed files with 159 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ content:
third_party_settings: { }
simple_sitemap:
weight: 10
region: content
settings: { }
third_party_settings: { }
region: content
status:
type: boolean_checkbox
weight: 12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ content:
weight: 4
region: content
settings:
linkit_profile: helfi
linkit_auto_link_text: false
linkit_profile: helfi
third_party_settings: { }
field_banner_link_design:
type: design_field_widget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- field.field.paragraph.list_of_links_item.field_list_of_links_link
- paragraphs.paragraphs_type.list_of_links_item
module:
- hdbt_admin_tools
- media_library
enforced:
module:
Expand Down Expand Up @@ -39,8 +40,8 @@ content:
weight: 1
region: content
settings:
linkit_profile: helfi
linkit_auto_link_text: false
linkit_profile: helfi
third_party_settings: { }
hidden:
created: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ content:
weight: 0
region: content
list:
weight: 100
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
search_api_excerpt: true
2 changes: 2 additions & 0 deletions conf/cmi/core.entity_view_display.paragraph.image.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies:
- field.field.paragraph.image.field_image_caption
- field.field.paragraph.image.field_original_aspect_ratio
- paragraphs.paragraphs_type.image
module:
- helfi_platform_config
_core:
default_config_hash: CyIGn-WUC2tx_La6KCOli1lPT8vEb_8MQwz6Ls6niO8
id: paragraph.image.default
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/editoria11y.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ no_load: ''
embedded_content_warning: ''
download_links: ''
ignore_link_strings: ''
link_ignore_selector: 'svg.ext, svg.mailto, .link-purpose-text'
hidden_handlers: ''
ignore_containers: ''
allow_overflow: ''
link_ignore_selector: 'svg.ext, svg.mailto, .link-purpose-text'
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_announcements
label: 'Helfi: Announcements'
label_plural: 'Helfi: Announcements'
description: ''
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_hearings
label: 'Helfi: Hearing'
label_plural: 'Helfi: Hearing'
description: 'Helfi hearings from hearing api.'
read_only: true
generate_aliases: false
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news
label: 'Helfi: News'
label_plural: 'Helfi: News'
description: ''
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_groups
label: 'Helfi: News groups'
label_plural: 'Helfi: News groups'
description: 'Retrieves news groups taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_neighbourhoods
label: 'Helfi: News neighbourhoods'
label_plural: 'Helfi: News neighbourhoods'
description: 'Retrieves news neighbourhoods taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_tags
label: 'Helfi: News tags'
label_plural: 'Helfi: News tags'
description: 'Retrieves news tags taxonomy terms from Helfi'
read_only: true
generate_aliases: null
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
18 changes: 9 additions & 9 deletions conf/cmi/field.field.node.landing_page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,25 @@ settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
columns: columns
list_of_links: list_of_links
content_cards: content_cards
content_liftup: content_liftup
banner: banner
liftup_with_image: liftup_with_image
popular_services: popular_services
from_library: from_library
chart: chart
remote_video: remote_video
map: map
news_list: news_list
event_list: event_list
columns: columns
phasing: phasing
popular_services: popular_services
map: map
remote_video: remote_video
chart: chart
target_group_links: target_group_links
event_list: event_list
news_list: news_list
hearings: hearings
unit_search: unit_search
content_liftup: content_liftup
service_list: service_list
service_list_search: service_list_search
unit_search: unit_search
negate: 0
target_bundles_drag_drop:
banner:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
content:
field_phasing_item:
settings:
title: Lohko
title_plural: Lohkot
Original file line number Diff line number Diff line change
@@ -1 +1 @@
label: Päivitä
label: Päivitys
7 changes: 7 additions & 0 deletions conf/cmi/language/fi/views.view.locked_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,20 @@ display:
expose:
items_per_page_label: 'Merkintöjä sivua kohti'
items_per_page_options_all_label: '- Kaikki -'
offset_label: Offset
fields:
node_bulk_form:
label: 'Solmujen bulkkitoimintojen lomake'
action_title: Toiminto
title:
label: Otsikko
separator: ', '
type:
label: Sisältötyyppi
separator: ', '
name:
label: 'Lukituksen tekijä'
separator: ', '
operations:
label: Toimenpiteet
timestamp:
Expand All @@ -57,3 +61,6 @@ display:
content: 'Lukittua sisältöä ei ole.'
page_1:
display_title: Sivu
display_options:
menu:
title: 'Lukitut sisällöt'
2 changes: 1 addition & 1 deletion conf/cmi/language/fi/views.view.redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ display:
display_options:
exposed_form:
options:
submit_button: Suodatin
submit_button: Suodata
reset_button_label: Palauta
exposed_sorts_label: Lajittele
sort_asc_label: Nousevasti
Expand Down
20 changes: 20 additions & 0 deletions conf/cmi/language/fi/views.view.scheduler_scheduled_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,25 @@ display:
action_title: Toiminto
title:
label: Otsikko
separator: ', '
type:
label: Sisältötyyppi
separator: ', '
name:
label: Kirjoittaja
separator: ', '
status:
label: Tila
settings:
format_custom_true: Julkaistu
format_custom_false: Julkaisematon
separator: ', '
publish_on:
label: Julkaisuaika
separator: ', '
unpublish_on:
label: 'Ajastettu piilottaminen'
separator: ', '
operations:
label: Toimenpiteet
filters:
Expand All @@ -47,6 +53,20 @@ display:
empty:
area_text_custom:
content: 'Ei vielä ajastettua sisältöä.'
exposed_form:
options:
submit_button: Suodata
reset_button_label: Palauta
exposed_sorts_label: Lajittele
sort_asc_label: Nousevasti
sort_desc_label: Laskevasti
pager:
options:
tags:
previous: '‹ edellinen'
next: 'seuraava ›'
first: '« ensimmäinen'
last: 'viimeinen »'
display_title: Oletus
overview:
display_options:
Expand Down
2 changes: 2 additions & 0 deletions conf/cmi/language/fi/views.view.user_admin_people.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ display:
label: 'Käyttäjä jo'
access:
label: 'Viimeksi paikalla'
settings:
past_format: '@interval sitten'
operations:
label: Toimenpiteet
mail:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
label: Publicerad
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
label: Publicerad
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
label: Publicerad
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
content:
field_phasing_item:
settings:
title: Paragraf
title_plural: Paragrafer
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
label: Lyftbild
description: 'Bilden syns i uttag, sökmotorer och delningar i sociala medier.'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Beskrivning
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Titel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Ämnen
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Beskrivning
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Titel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Beskrivning
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Titel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Beskrivning
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Titel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Titel
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
settings:
on_label:
off_label: Av
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Botteninnehåll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Sidofältets innehåll'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Botteninnehåll
4 changes: 4 additions & 0 deletions conf/cmi/language/sv/views.view.files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ display:
label: 'Datum för ändring'
count:
label: 'Används i'
alter:
path: 'admin/content/files/usage/{{ fid }}'
format_plural_string: !!binary MSBwbGFjZQNAY291bnQgcGxhY2Vz
filters:
filename:
expose:
Expand Down Expand Up @@ -81,6 +84,7 @@ display:
label: 'Registrerar modul'
count:
label: 'Antal använd'
format_plural_string: !!binary MQNAY291bnQ=
title: Filanvändning
arguments:
fid:
Expand Down
5 changes: 3 additions & 2 deletions conf/cmi/language/sv/views.view.locked_services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ display:
exposed_form:
options:
submit_button: Filtrera
sort_asc_label: Ascending
sort_desc_label: Descending
sort_asc_label: Stigande
sort_desc_label: Fallande
exposed_sorts_label: 'Sortera efter'
filters:
name:
expose:
Expand Down
2 changes: 2 additions & 0 deletions conf/cmi/language/sv/views.view.paragraphs_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ display:
separator: ', '
operations:
label: Funktioner
count:
format_plural_string: !!binary MSBwbGFjZQNAY291bnQgcGxhY2Vz
filters:
label:
expose:
Expand Down
Loading

0 comments on commit 1e2904c

Please sign in to comment.