{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as helper %} {% block toolbar %} {% if collector.themes is not empty %} {% set icon %} {{ include('@SyliusTheme/Collector/Icon/theme.svg') }} {{ collector.usedTheme|default(collector.themes|length) }} {% endset %} {% set text %}
All themes {{ collector.themes|length }}
Used themes {{ collector.usedThemes|length }}
{% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig') }} {% endif %} {% endblock %} {% block menu %} {{ include('@SyliusTheme/Collector/Icon/theme.svg') }} Themes {{ collector.usedThemes|length }} {% endblock %} {% block panel %}

Theme Metrics

{{ collector.usedThemes|length }} Used themes
{{ collector.themes|length }} All themes

Themes List

Used {{ collector.usedThemes|length }}

These are themes used.

{% if collector.usedThemes is empty %}

No themes were used.

{% else %} {{ helper.render_table(collector.usedThemes) }} {% endif %}

All {{ collector.themes|length }}

These are themes found.

{% if collector.themes is empty %}

No themes were found.

{% else %} {{ helper.render_table(collector.themes) }} {% endif %}
{% endblock %} {% macro render_table(themes) %} {% for theme in themes %} {% endfor %}
Name Path Description
{{ theme.name }} {{ theme.path }} {{ theme.description }}
{% endmacro %}