[WebProfilerBundle] The total number of log entries is not relevant, display only the number of errors when required

This commit is contained in:
Victor Berchet 2011-03-08 15:55:10 +01:00
parent d171eaf801
commit 62341e5ad6

View File

@ -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 %}