Skip to content

Commit

Permalink
OEL-1291: Field oe_location renamed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxfire committed Mar 14, 2022
1 parent f5e1cf9 commit 20a2b7e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- field.field.node.oe_sc_event.oe_documents
- field.field.node.oe_sc_event.oe_sc_event_dates
- field.field.node.oe_sc_event.oe_featured_media
- field.field.node.oe_sc_event.oe_location
- field.field.node.oe_sc_event.oe_sc_event_location
- field.field.node.oe_sc_event.oe_summary
- node.type.oe_sc_event
module:
Expand Down Expand Up @@ -60,7 +60,7 @@ content:
link: true
view_mode: default
third_party_settings: { }
oe_location:
oe_sc_event_location:
type: oe_whitelabel_helper_address_inline
label: inline
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- field.field.node.oe_sc_event.oe_documents
- field.field.node.oe_sc_event.oe_sc_event_dates
- field.field.node.oe_sc_event.oe_featured_media
- field.field.node.oe_sc_event.oe_location
- field.field.node.oe_sc_event.oe_sc_event_location
- field.field.node.oe_sc_event.oe_summary
- node.type.oe_sc_event
module:
Expand All @@ -30,7 +30,7 @@ content:
third_party_settings: { }
weight: 4
region: content
oe_location:
oe_sc_event_location:
type: address_default
label: hidden
settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
}
]) %}
{% endif %}
{% if content.oe_location|field_value is not empty %}
{% if content.oe_sc_event_location|field_value is not empty %}
{% set _event_location %}
{{ content.oe_location|field_value|safe_join(', ') }}
{{ content.oe_sc_event_location|field_value|safe_join(', ') }}
{% endset %}
{% set description_items = description_items|merge([
{
term:[{
'label': content.oe_location|field_label,
'label': content.oe_sc_event_location|field_label,
'icon': 'geo-alt-fill',
}],
definition: _event_location,
Expand Down

0 comments on commit 20a2b7e

Please sign in to comment.