We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8caa8ef commit efe215cCopy full SHA for efe215c
Resources/views/Collector/db.html.twig
@@ -8,7 +8,11 @@
8
{% set icon %}
9
{% set status = collector.invalidEntityCount > 0 ? 'red' : collector.querycount > 50 ? 'yellow' %}
10
11
- <span class="icon">{{ include('@Doctrine/Collector/' ~ (profiler_markup_version < 3 ? 'icon' : 'database') ~ '.svg') }}</span>
+ {% if profiler_markup_version >= 3 %}
12
+ {{ include('@Doctrine/Collector/database.svg') }}
13
+ {% else %}
14
+ <span class="icon">{{ include('@Doctrine/Collector/icon.svg') }}</span>
15
+ {% endif %}
16
17
{% if collector.querycount == 0 and collector.invalidEntityCount > 0 %}
18
<span class="sf-toolbar-value">{{ collector.invalidEntityCount }}</span>
0 commit comments