3 <a href="{{ url("webprofiler.dashboard", {profile: token}, {fragment: 'events'}) }}" title="{{ 'Events'|t }}">
4 <img width="20" height="28" alt="{{ 'Events'|t }}"
5 src="data:image/png;base64,{{ collector.icon }}">
6 <span class="sf-toolbar-info-piece-additional sf-toolbar-status">{{ collector.getCalledListenersCount }}</span>
11 <div class="sf-toolbar-info-piece">
12 <b>{{ 'Triggered'|t }}</b>
13 <span>{{ collector.getCalledListenersCount }}</span>
15 <div class="sf-toolbar-info-piece">
16 <b>{{ 'Not triggered'|t }}</b>
17 <span>{{ collector.getNotCalledListenersCount }}</span>
21 <div class="sf-toolbar-block">
22 <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
23 <div class="sf-toolbar-info">{{ text|default('') }}</div>
28 <script id="events" type="text/template">
30 <h2 class="panel__title">{{ 'Events'|t }}</h2>
31 <div class="panel__container">
33 <table class="table--duo">
35 <th>{{ 'Called listeners'|t }}</th>
36 <th>{{ 'Class'|t }}</th>
37 <th>{{ 'Priority'|t }}</th>
39 <tbody> <% _.each( data.called_listeners, function( item ){ %>
41 <td><%= item.event %></td>
42 <% if(item.type == 'Method') { %>
44 <%= Drupal.webprofiler.helpers.classLink(item) %>
47 <td>{{ 'Closure'|t }}</td>
49 <td><%= item.priority %></td>
55 <div class="panel__container">
57 <table class="table--duo">
59 <th>{{ 'Non called listeners'|t }}</th>
60 <th>{{ 'Class'|t }}</th>
63 <% _.each( data.not_called_listeners, function( item ){ %>
65 <td><%= item.event %></td>
66 <% if(item.type == 'Method') { %>
68 <%= Drupal.webprofiler.helpers.classLink(item) %>
71 <td>{{ 'Closure'|t }}</td>