devel.html.twig in Devel 4.x
{% block toolbar %}
{% set icon %}
<a href="{{ url("devel.admin_settings") }}" title="{{ 'Devel menu'|t }}">
<img width="26" height="28" alt="{{ collector.title }}"
src="data:image/png;base64,{{ collector.icon }}"/>
</a>
{% endset %}
{% set text %}
{% spaceless %}
{% for item in collector.links %}
<div class="sf-toolbar-info-piece">
<span>{{ item }}</span>
</div>
{% endfor %}
{% endspaceless %}
{% endset %}
<div class="sf-toolbar-block">
<div class="sf-toolbar-icon">{{ icon|default('') }}</div>
<div class="sf-toolbar-info">{{ text|default('') }}</div>
</div>
{% endblock %}
File
webprofiler/templates/Collector/devel.html.twig
View source
- {% block toolbar %}
- {% set icon %}
- <a href="{{ url("devel.admin_settings") }}" title="{{ 'Devel menu'|t }}">
- <img width="26" height="28" alt="{{ collector.title }}"
- src="data:image/png;base64,{{ collector.icon }}"/>
- </a>
- {% endset %}
-
- {% set text %}
- {% spaceless %}
- {% for item in collector.links %}
- <div class="sf-toolbar-info-piece">
- <span>{{ item }}</span>
- </div>
- {% endfor %}
- {% endspaceless %}
- {% endset %}
-
- <div class="sf-toolbar-block">
- <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
- <div class="sf-toolbar-info">{{ text|default('') }}</div>
- </div>
-
- {% endblock %}