Skip to content

Commit

Permalink
Merge pull request #1039 from City-of-Helsinki/update-configuration
Browse files Browse the repository at this point in the history
Automatic update
  • Loading branch information
khalima authored Feb 6, 2025
2 parents 91d034a + 0dea0bf commit d26398a
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 67 deletions.
62 changes: 31 additions & 31 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- link
- text
_core:
default_config_hash: gdwGWJ777jQK9Sp9u3B8_ezV69VGMbEqOiKax-7vUM8
default_config_hash: RPiB_poa2hBtdepgZvpwegxerpRhNyCkRIr_OEt_l-M
id: media.helfi_chart.default
targetEntityType: media
bundle: helfi_chart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
module:
- text
_core:
default_config_hash: 15dE9cINIClD6CbC9j7i4xZaZ4eI95MVmLKSkvXb1P4
default_config_hash: 7I7JgqwSLHKPVnnYpmVSQ0-RS8tUb0ayNGVynJiS_Jg
id: media.helfi_chart.media_library
targetEntityType: media
bundle: helfi_chart
Expand Down
13 changes: 9 additions & 4 deletions conf/cmi/core.entity_view_display.media.helfi_chart.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ dependencies:
- field.field.media.helfi_chart.field_helfi_chart_url
- media.type.helfi_chart
module:
- helfi_media_chart
- link
- text
_core:
default_config_hash: 1xd_Ay1Sm-oy3t_qPIo9gRcIHleOgRxGwiLk41gA6Yw
default_config_hash: FUv-BgecAAz5WBHKaQdV8sD8uNcYSfMUOpMez76--HA
id: media.helfi_chart.default
targetEntityType: media
bundle: helfi_chart
Expand All @@ -33,9 +33,14 @@ content:
weight: 2
region: content
field_helfi_chart_url:
type: helfi_chart
type: link
label: hidden
settings: { }
settings:
trim_length: 80
url_only: true
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 1
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
module:
- helfi_media_chart
_core:
default_config_hash: FHz7mlEZIIXRsyZiI6EMFXkkmC4Qtdt1d4kzEN_fSY0
default_config_hash: 28nwEZaRGXg0zD-nmyYusiqAx3gMir52iQG7f5pcyJM
id: media.helfi_chart.media_library
targetEntityType: media
bundle: helfi_chart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- field.storage.media.field_helfi_chart_title
- media.type.helfi_chart
_core:
default_config_hash: NkVp00nT1XM4LgzHMR5KpcZejQka35JJzP47xH7r1yE
default_config_hash: 1-AJXcAy0ANS-0BXwAAz8RiB9_s6MfjOP7Mh02yl1X4
id: media.helfi_chart.field_helfi_chart_title
field_name: field_helfi_chart_title
entity_type: media
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ third_party_settings:
allowed_formats:
- minimal
_core:
default_config_hash: eYXYJE9ziG8ujmLaO266WejbGDf4DUbUQU6QJac4zXY
default_config_hash: 59V-xqzI9H6QWi8JxWcfumBdgctyJuIKKQwy-fIz8xA
id: media.helfi_chart.field_helfi_chart_transcript
field_name: field_helfi_chart_transcript
entity_type: media
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
module:
- link
_core:
default_config_hash: V1HwyhpRiVfBUpG1VW9xYqhX2nyWcObeJLStCHAWJ0U
default_config_hash: fLnEZJ-Xn6hrPAbX1Rm-QF5wD7iFzgfGYmC7ZHQb3Uo
id: media.helfi_chart.field_helfi_chart_url
field_name: field_helfi_chart_url
entity_type: media
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/field.storage.media.field_helfi_chart_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:
module:
- media
_core:
default_config_hash: yLiblI3eUbV0Sc4-XQIRmuXcC_86RLrjM1x7hpE7sgM
default_config_hash: E9vNuq40qcDWpbVXzhJZIT-bS2dY1UtXzBLkSzXX5cM
id: media.field_helfi_chart_title
field_name: field_helfi_chart_title
entity_type: media
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- media
- text
_core:
default_config_hash: uqaIgIT9IhvV9B6Q2Lv7oC-6c3Tdc6DKqKrL5tenzWE
default_config_hash: XBAZ5mxW37dvu50a4J6YRsS1nIMmSrrbp6o123TjEPU
id: media.field_helfi_chart_transcript
field_name: field_helfi_chart_transcript
entity_type: media
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/field.storage.media.field_helfi_chart_url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- link
- media
_core:
default_config_hash: 5_rvFqrv3gOFWntv-K-YqlVVzLGf2qMtMHNV5JRlOAQ
default_config_hash: TFCN5mPRa-KucnPSitp_Q9YBEVittmV1k3IB-cdhq6I
id: media.field_helfi_chart_url
field_name: field_helfi_chart_url
entity_type: media
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/language.content_settings.media.helfi_chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:
config:
- media.type.helfi_chart
_core:
default_config_hash: 2BVN4f7oVA6fKcWq9zF90vKpBQ122PgyhnrbvoSn_gk
default_config_hash: Ohvg1161oVX8a2EjOkWgQumATkIUd0YaZeQfqCSZ-d8
id: media.helfi_chart
target_entity_type_id: media
target_bundle: helfi_chart
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/media.type.helfi_chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:
module:
- helfi_media_chart
_core:
default_config_hash: 1503jEWhXt0uww_73X1tsvrKBnZlbrduYrVR0J4IugA
default_config_hash: fE_5vzXaso2zcPNu6y4-ltGFLCUYWlG98COd3d7SbIk
id: helfi_chart
label: 'Chart embed'
description: 'Media type Chart can be used to present interactive charts. Supports Microsoft Power BI.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
%}
{% block component_content %}

{% set after_planner_id = media_id ~ random() ~ '-after'|clean_id %}
{% set before_planner_id = media_id ~ random() ~ '-before'|clean_id %}
{% set skip_link_after = media_id ~ random() ~ '-after'|clean_id %}
{% set skip_link_before = media_id ~ random() ~ '-before'|clean_id %}
{% set cookie_consent_groups = ['preferences', 'statistics'] %}

{% include '@hdbt/misc/embedded-content-cookie-compliance.twig' with {
media_url: media_url,
media_id: media_id,
media_service_url: media_service_url,
privacy_policy_url: privacy_policy_url,
cookie_consent_groups: cookie_consent_groups,
} %}

{% set drupal_settings = {
Expand All @@ -27,8 +29,9 @@
'src': media_url,
'title': 'Digitransit UI embedded search'|t({}, {'context': 'Journey planner'}),
'type': 'journey_planner',
'skipLinkAfterId' : after_planner_id,
'skipLinkBeforeId' : before_planner_id,
'skipLinkAfterId' : skip_link_after,
'skipLinkBeforeId' : skip_link_before,
'cookieConsentGroups' : cookie_consent_groups,
}
}
}
Expand All @@ -39,4 +42,4 @@

{% endblock component_content %}
{% endembed %}
{% endblock paragraph %}
{% endblock paragraph %}
8 changes: 0 additions & 8 deletions public/themes/custom/hdbt_subtheme/translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ msgctxt "Journey planner"
msgid "Digitransit UI embedded search"
msgstr "Digitransit UI upotettu haku"

msgctxt "Skip link after the journey planner for the journey planner paragraph"
msgid "Continue above the journey planner"
msgstr "Siirry reittioppaan yläpuolelle"

msgctxt "Skip link before the journey planner for the journey planner paragraph"
msgid "Continue below the journey planner"
msgstr "Siirry reittioppaan alapuolelle"

msgctxt "District and project search fallback"
msgid "search result"
msgid_plural "search results"
Expand Down
8 changes: 0 additions & 8 deletions public/themes/custom/hdbt_subtheme/translations/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ msgctxt "Journey planner"
msgid "Digitransit UI embedded search"
msgstr "Digitransit UI inbäddad sökning"

msgctxt "Skip link after the journey planner for the journey planner paragraph"
msgid "Continue above the journey planner"
msgstr "Gå förbi reseplaneraren uppåt"

msgctxt "Skip link before the journey planner for the journey planner paragraph"
msgid "Continue below the journey planner"
msgstr "Gå förbi reseplaneraren nedåt"

msgctxt "District and project search fallback"
msgid "search result"
msgid_plural "search results"
Expand Down

0 comments on commit d26398a

Please sign in to comment.