nineskeletor/templates/Pagewidget/viewurl.html.twig

12 lines
384 B
Twig
Raw Normal View History

2023-01-23 09:46:34 +01:00
{% set widgetname="url" %}
{% extends 'Pagewidget/widget.twig' %}
{% block widgetbody %}
{% if imagemedia %}
<img src="{{ url|replace({'#login#': username}) }}" width="100%" >
{% else %}
<iframe src="{{ url|replace({'#login#': username}) }}" class="{% if entity.autoajust %}frameajust {% endif %}" style="width:100%"></iframe>
{% endif %}
{% endblock %}
2023-01-12 16:14:31 +01:00