Show if an event is online

References #241
This commit is contained in:
Oliver Davies 2020-10-24 20:31:59 +01:00
parent de1232d56f
commit 623d1924b7

View file

@ -48,6 +48,7 @@
%}
{% block paragraph %}
{% set date = paragraph.field_date.0.value %}
{% set is_online = paragraph.field_is_online.0.value %}
{% set is_remote = paragraph.field_remote.0.value %}
{% set location = paragraph.field_location.0.value %}
{% set name = paragraph.field_name.0.value %}
@ -66,6 +67,10 @@
{{ location }}
{%- endif %}
{% if is_online %}
{{ '(Online)'|t }}
{% endif %}
{% if is_remote %}
{{ '(Remote)'|t }}
{% endif %}