{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}

{% block menu %}
<span class="label">
    <span class="icon"><img src="{{ asset('bundles/webprofiler/images/profiler/events.png') }}" alt="Events" /></span>
    <strong>Events</strong>
</span>
{% endblock %}

{% block panel %}
    <h2>Called Listeners</h2>

    <table>
        <tr>
            <th>Class</th>
            <th>Event</th>
        </tr>
        {% for elements in collector.calledlisteners %}
            <tr>
                <td><code>{{ elements.class|abbr_class }}</code></td>
                <td><code>{{ elements.event }}</code></td>
            </tr>
        {% endfor %}
    </table>

    {% if collector.notcalledlisteners %}
        <h2>Not Called Listeners</h2>

        <table>
            <tr>
                <th>Event</th>
                <th>Listener</th>
            </tr>
            {% for elements in collector.notcalledlisteners %}
                <tr>
                    <td><code>{{ elements.class|abbr_class }}</code></td>
                    <td><code>{{ elements.event }}</code></td>
                </tr>
            {% endfor %}
        </table>
    {% endif %}
{% endblock %}

{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}

{% block menu %}
<span class="label">
    <span class="icon"><img src="{{ asset('bundles/webprofiler/images/profiler/events.png') }}" alt="Events" /></span>
    <strong>Events</strong>
</span>
{% endblock %}

{% block panel %}
    <h2>Called Listeners</h2>

    <table>
        <tr>
            <th>Event name</th>
            <th>Class</th>
        </tr>
        {% for elements in collector.calledlisteners %}
            <tr>
                <td><code>{{ elements.event }}</code></td>
                <td><code>{{ elements.class|abbr_class }}</code></td>
            </tr>
        {% endfor %}
    </table>

    {% if collector.notcalledlisteners %}
        <h2>Not Called Listeners</h2>

        <table>
            <tr>
                <th>Event name</th>
                <th>Class</th>
            </tr>
            {% for elements in collector.notcalledlisteners %}
                <tr>
                    <td><code>{{ elements.event }}</code></td>
                    <td><code>{{ elements.class|abbr_class }}</code></td>
                </tr>
            {% endfor %}
        </table>
    {% endif %}
{% endblock %}

Update the event panel layout
[WebProfilerBundle] Update the event panel layout

