feat: show if an event was online
This commit is contained in:
parent
46e5fbcced
commit
b3923c7b4d
|
@ -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
|
||||
|
|
|
@ -63,6 +63,12 @@
|
|||
{% endif %}
|
||||
|
||||
- {{ content.field_date }}
|
||||
|
||||
{% block trans %}
|
||||
{% if content.field_is_online.0 %}
|
||||
(online)
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock paragraph %}
|
||||
|
|
Loading…
Reference in a new issue