[WebProfilerBundle] The total number of log entries is not relevant, display only the number of errors when required
This commit is contained in:
parent
d171eaf801
commit
62341e5ad6
@ -11,12 +11,11 @@
|
||||
<span class="label">
|
||||
<span class="icon"><img src="{{ asset('bundles/webprofiler/images/profiler/logger.png') }}" alt="" /></span>
|
||||
<strong>Logs</strong>
|
||||
<span class="count">
|
||||
<span>{{ collector.logs|length }}</span>
|
||||
{% if collector.counterrors %}
|
||||
{% if collector.counterrors %}
|
||||
<span class="count">
|
||||
<span class="error">{{ collector.counterrors }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user