1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00
Files
phpmyadmin/templates/console/toolbar.twig
William Desportes 8b99611988 Fix console toolbar render when bookmark feature is disabled and sql debug is enabled
It made the display weird because a empty div was added

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 13:21:27 +02:00

11 lines
355 B
Twig

<div class="toolbar {{ parent_div_classes }}">
{% for content in content_array %}
{% if content is defined and content is not null %}
<div class="{{ content[0] }}">
{{ content['image'] is defined ? content['image']|raw }}
<span>{{ content[1] }}</span>
</div>
{% endif %}
{% endfor %}
</div>