feat: show if an event was online
This commit is contained in:
parent
46e5fbcced
commit
b3923c7b4d
|
@ -29,15 +29,15 @@ content:
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
field_is_online:
|
field_is_online:
|
||||||
weight: 5
|
type: boolean
|
||||||
|
weight: 4
|
||||||
|
region: content
|
||||||
label: above
|
label: above
|
||||||
settings:
|
settings:
|
||||||
format: default
|
format: boolean
|
||||||
format_custom_false: ''
|
|
||||||
format_custom_true: ''
|
format_custom_true: ''
|
||||||
|
format_custom_false: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: boolean
|
|
||||||
region: content
|
|
||||||
field_link:
|
field_link:
|
||||||
weight: 1
|
weight: 1
|
||||||
label: hidden
|
label: hidden
|
||||||
|
|
|
@ -63,6 +63,12 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
- {{ content.field_date }}
|
- {{ content.field_date }}
|
||||||
|
|
||||||
|
{% block trans %}
|
||||||
|
{% if content.field_is_online.0 %}
|
||||||
|
(online)
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock paragraph %}
|
{% endblock paragraph %}
|
||||||
|
|
Loading…
Reference in a new issue