Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 62d75379 authored by Sergio Elvira Perez's avatar Sergio Elvira Perez
Browse files

OEL-1291: Field oe_location renamed.

parent 88ca64fe
No related branches found
No related tags found
1 merge request!92OEL-1291: News and Event content types renamed.
......@@ -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:
......@@ -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:
......
......@@ -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:
......@@ -30,7 +30,7 @@ content:
third_party_settings: { }
weight: 4
region: content
oe_location:
oe_sc_event_location:
type: address_default
label: hidden
settings: { }
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment