mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-18 05:10:07 -07:00
21 lines
703 B
Twig
21 lines
703 B
Twig
{% import 'macros/blocks.html.twig' as blocks %}
|
|
{% import 'macros/elements.html.twig' as elements %}
|
|
|
|
{% block content %}
|
|
{% for label, flashes in app.session.flashbag.all %}
|
|
{% for flash in flashes %}
|
|
{{ elements.flash(label,flash) }}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
{% if description|length %}
|
|
<div class="ui segment vertical">
|
|
{{ description|raw }}
|
|
</div>
|
|
<div class="ui segment vertical">
|
|
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
|
</div>
|
|
{% else %}
|
|
{{ blocks.empty('empty.description.title'|trans, 'empty.description.message'|trans) }}
|
|
{% endif %}
|
|
{% endblock %} |