Skip to content
Snippets Groups Projects
Commit 3f6353db authored by Lily Yan's avatar Lily Yan Committed by Eric Bremner
Browse files

ISTWCMS-6127 The text should appear, but not as a link if set to '<nolink>'

parent 83761af7
No related branches found
No related tags found
1 merge request!84ISTWCMS-6127 The text should appear, but not as a link if set to '<nolink>'
......@@ -10,9 +10,13 @@
{% if additional_info.host %}
<span class="uw-label">Host:</span>
{% include '@components/links/links.twig' with {
'links': additional_info.host
} %}
{% if additional_info.host.0.uri != '' %}
{% include '@components/links/links.twig' with {
'links': additional_info.host
} %}
{% else %}
{{ additional_info.host.0.title }}
{% endif %}
{% endif %}
{% if additional_info.event_website %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment