File tree 1 file changed +4
-4
lines changed
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 427
427
{% import _self as tree %}
428
428
<li >
429
429
<div class =" tree-inner" data-tab-target-id =" {{ data .id }}-details" >
430
+ {% if data .errors is defined and data .errors | length > 0 %}
431
+ <div class =" badge-error" >{{ data .errors | length }}</div >
432
+ {% endif %}
433
+
430
434
{% if data .children is not empty %}
431
435
<a class =" toggle-button" data-toggle-target-id =" {{ data .id }}-children" href =" #" ><span class =" toggle-icon" ></span ></a >
432
436
{% else %}
433
437
<div class =" toggle-icon empty" ></div >
434
438
{% endif %}
435
439
436
440
{{ name | default (' (no name)' ) }} {% if data .type_class is defined and data .type is defined %}[<abbr title =" {{ data .type_class }}" >{{ data .type | split (' \\' )| last }}</abbr >]{% endif %}
437
-
438
- {% if data .errors is defined and data .errors | length > 0 %}
439
- <div class =" badge-error" >{{ data .errors | length }}</div >
440
- {% endif %}
441
441
</div >
442
442
443
443
{% if data .children is not empty %}
You can’t perform that action at this time.
0 commit comments