diff --git a/templates/content/node--ubc-event--full.html.twig b/templates/content/node--ubc-event--full.html.twig index 2ea7213..e78fdf4 100755 --- a/templates/content/node--ubc-event--full.html.twig +++ b/templates/content/node--ubc-event--full.html.twig @@ -115,6 +115,9 @@ {% set eventdate = 'Ongoing event' %} {% set time = '' %} {% endif %} +{% if node.field_event_is_virtual.value %} + {% set eventvirtual = 'Virtual event' %} +{% endif %} @@ -132,7 +135,12 @@ {% if not (node.field_event_date.isEmpty == true) and content.field_event_date is defined %}

{{ eventdate }}{{ time }}

{% endif %} - {% if not (node.field_event_location.isEmpty == true) and content.field_event_location is defined %} + {% if not (node.field_event_is_virtual.isEmpty == true) and content.field_event_is_virtual is defined %} +
+ {{ eventvirtual }} +
+ {% endif %} + {% if not eventvirtual and not (node.field_event_location.isEmpty == true) and content.field_event_location is defined %}
{{ content.field_event_location.0.address_line1 }} {% if not (node.field_event_location.0.address_line2.isEmpty == true) %}