Disable Twig in the profiler menu when Twig is not used
This commit is contained in:
parent
3cfb558f03
commit
b47408179f
@ -31,7 +31,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block menu %}
|
{% block menu %}
|
||||||
<span class="label">
|
<span class="label {{ 0 == collector.templateCount ? 'disabled' }}">
|
||||||
<span class="icon">{{ include('@WebProfiler/Icon/twig.svg') }}</span>
|
<span class="icon">{{ include('@WebProfiler/Icon/twig.svg') }}</span>
|
||||||
<strong>Twig</strong>
|
<strong>Twig</strong>
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user