Disable Twig in the profiler menu when Twig is not used

This commit is contained in:
Javier Eguiluz 2019-01-30 11:27:26 +01:00
parent 3cfb558f03
commit b47408179f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
{% endblock %}
{% block menu %}
<span class="label">
<span class="label {{ 0 == collector.templateCount ? 'disabled' }}">
<span class="icon">{{ include('@WebProfiler/Icon/twig.svg') }}</span>
<strong>Twig</strong>
</span>