File tree Expand file tree Collapse file tree 2 files changed +199
-2
lines changed Expand file tree Collapse file tree 2 files changed +199
-2
lines changed Original file line number Diff line number Diff line change 55{% block toolbar %}
66 {% if collector .totalRequests > 0 %}
77 {% set icon %}
8- {{ include (' @Httplug/Icon/httplug.svg' ) }}
8+ {% if constant (' Symfony\\Component\\HttpKernel\\Kernel::VERSION_ID' ) >= 20800 %}
9+ {{ include (' @Httplug/Icon/httplug.svg' ) }}
10+ {% else %}
11+ {{ include (' @Httplug/Icon/httplug_old.svg' ) }}
12+ {% endif %}
913 <span class =" sf-toolbar-value" >{{ collector .totalRequests }}</span >
1014 <span class =" sf-toolbar-label" >req.</span >
1115 {% endset %}
3337{% block menu %}
3438 {# This left-hand menu appears when using the full-screen profiler. #}
3539 <span class =" label {{ collector .totalRequests == 0 ? ' disabled' }}" >
36- <span class =" icon" >{{ include (' @Httplug/Icon/httplug.svg' ) }}</span >
40+ <span class =" icon" >
41+ {% if constant (' Symfony\\Component\\HttpKernel\\Kernel::VERSION_ID' ) >= 20800 %}
42+ {{ include (' @Httplug/Icon/httplug.svg' ) }}
43+ {% else %}
44+ {{ include (' @Httplug/Icon/httplug_old.svg' ) }}
45+ {% endif %}
46+ </span >
3747 <strong >Httplug</strong >
3848 </span >
3949{% endblock %}
You can’t perform that action at this time.
0 commit comments