You are here

devel.html.twig in Devel 8.2

{% 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
  1. {% block toolbar %}
  2. {% set icon %}
  3. <a href="{{ url("devel.admin_settings") }}" title="{{ 'Devel menu'|t }}">
  4. <img width="26" height="28" alt="{{ collector.title }}"
  5. src="data:image/png;base64,{{ collector.icon }}"/>
  6. </a>
  7. {% endset %}
  8. {% set text %}
  9. {% spaceless %}
  10. {% for item in collector.links %}
  11. <div class="sf-toolbar-info-piece">
  12. <span>{{ item }}</span>
  13. </div>
  14. {% endfor %}
  15. {% endspaceless %}
  16. {% endset %}
  17. <div class="sf-toolbar-block">
  18. <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
  19. <div class="sf-toolbar-info">{{ text|default('') }}</div>
  20. </div>
  21. {% endblock %}