Tweaked the tabs of the logger profiler panel

This commit is contained in:
Javier Eguiluz 2017-05-07 19:02:29 +02:00
parent f56245594c
commit c21782dcae

View File

@ -68,6 +68,7 @@
<div class="sf-tabs">
<div class="tab">
<h3 class="tab-title">Info. &amp; Errors <span class="badge status-{{ collector.counterrors ? 'error' : collector.countwarnings ? 'warning' }}">{{ collector.counterrors ?: info_and_error_logs|length }}</span></h3>
<p class="text-muted">Informational and error log messages generated during the execution of the application.</p>
<div class="tab-content">
{% if info_and_error_logs is empty %}
@ -84,6 +85,7 @@
{# 'deprecation_logs|length' is not used because deprecations are
now grouped and the group count doesn't match the message count #}
<h3 class="tab-title">Deprecations <span class="badge status-{{ collector.countdeprecations ? 'warning' }}">{{ collector.countdeprecations|default(0) }}</span></h3>
<p class="text-muted">Log messages generated by using features marked as deprecated.</p>
<div class="tab-content">
{% if deprecation_logs is empty %}
@ -98,6 +100,7 @@
<div class="tab">
<h3 class="tab-title">Debug <span class="badge">{{ debug_logs|length }}</span></h3>
<p class="text-muted">Unimportant log messages generated during the execution of the application.</p>
<div class="tab-content">
{% if debug_logs is empty %}
@ -111,7 +114,8 @@
</div>
<div class="tab">
<h3 class="tab-title">Silenced PHP Notices<span class="badge">{{ collector.countscreams|default(0) }}</span></h3>
<h3 class="tab-title">PHP Notices <span class="badge">{{ collector.countscreams|default(0) }}</span></h3>
<p class="text-muted">Log messages generated by PHP notices silenced with the @ operator.</p>
<div class="tab-content">
{% if silenced_logs is empty %}
@ -129,7 +133,8 @@
{% set compilerLogTotal = compilerLogTotal + logs|length %}
{% endfor %}
<div class="tab">
<h3 class="tab-title">Container Compilation<span class="badge">{{ compilerLogTotal }}</span></h3>
<h3 class="tab-title">Container <span class="badge">{{ compilerLogTotal }}</span></h3>
<p class="text-muted">Log messages generated during the compilation of the service container.</p>
<div class="tab-content">
{% if collector.compilerLogs is empty %}