diff --git a/resources/views/Widgets/Common/LinkWidget.twig b/resources/views/Widgets/Common/LinkWidget.twig index 027fab989e..f9d15a10fa 100644 --- a/resources/views/Widgets/Common/LinkWidget.twig +++ b/resources/views/Widgets/Common/LinkWidget.twig @@ -40,36 +40,57 @@ {% endif %} {% endif %} -{{ Twig.if("real_url or trackingUrls or #{ isPreview | json_encode }") }} +{{ Twig.if("#{ isPreview | json_encode }") }} + +{{ Twig.elseif("real_url or trackingUrls") }} + {% if url.value.mobile == 'tracking' %} + {% else %} - - {%- if icon != "none" -%} - - {%- endif -%} - {{- text -}} - - {% endif %} - -{{ Twig.endif() }} + + {%- endif -%} +{{ Twig.endif() }} \ No newline at end of file