Files
Froxlor/templates/Froxlor/user/form-replacers.html.twig
Michael Kaufmann 401eb60062 admin-updates, settings-import and some minor ui tweaks
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-03-16 13:22:59 +01:00

24 lines
671 B
Twig

{% extends "Froxlor/user/form.html.twig" %}
{% block content %}
{{ parent() }}
{% if replacers is not empty and replacers is iterable %}
<div class="card my-3">
<div class="card-body">
<h5 class="card-title">{{ lng('admin.templates.template_replace_vars') }}</h5>
<dl class="row">
{% for replacer in replacers.replacers %}
{% if (replacer.visible is defined and replacer.visible) or replacer.visible is not defined %}
<dt class="col-sm-3">{{ '{' }}{{ replacer.var }}{{ '}' }}</dt>
<dd class="col-sm-9">{{ replacer.description }}</dd>
{% endif %}
{% endfor %}
</dl>
</div>
</div>
{% endif %}
{% endblock %}