feat: show if an event was online

This commit is contained in:
Oliver Davies 2021-12-09 12:00:00 +00:00
parent 46e5fbcced
commit b3923c7b4d
2 changed files with 11 additions and 5 deletions

View file

@ -29,15 +29,15 @@ content:
type: datetime_default
region: content
field_is_online:
weight: 5
type: boolean
weight: 4
region: content
label: above
settings:
format: default
format_custom_false: ''
format: boolean
format_custom_true: ''
format_custom_false: ''
third_party_settings: { }
type: boolean
region: content
field_link:
weight: 1
label: hidden

View file

@ -63,6 +63,12 @@
{% endif %}
- {{ content.field_date }}
{% block trans %}
{% if content.field_is_online.0 %}
(online)
{% endif %}
{% endblock %}
{% endblock %}
</div>
{% endblock paragraph %}