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 %}
|
||||
|
||||
{% 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>
|
||||
|
|
Reference in New Issue