3 <a href="{{ url("webprofiler.dashboard", {profile: token}, {fragment: 'views'}) }}" title="{{ 'Views'|t }}">
4 <img width="20" height="28" alt="{{ 'Views'|t }}"
5 src="data:image/png;base64,{{ collector.icon }}"/>
6 <span class="sf-toolbar-info-piece-additional sf-toolbar-status">{{ collector.getViewsCount }}</span>
11 <div class="sf-toolbar-info-piece">
12 <b>{{ 'Views'|t }}</b>
13 <span>{{ collector.getViewsCount }}</span>
17 <div class="sf-toolbar-block">
18 <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
19 <div class="sf-toolbar-info">{{ text|default('') }}</div>
24 <script id="views" type="text/template">
25 <h2 class="panel__title">{{ 'Views'|t }}</h2>
26 <div class="panel__container">
27 <% if( data.views.length != 0){ %>
28 <table class="table--duo">
31 <th>{{ 'name'|t }}</th>
32 <th>{{ 'display'|t }}</th>
33 <th>{{ 'build time'|t }}</th>
34 <th>{{ 'execute time'|t }}</th>
35 <th>{{ 'render time'|t }}</th>
36 <th>{{ 'Action'|t }}</th>
40 <% _.each( data.views, function( item ){ %>
42 <td><%- item.id %></td>
43 <td><%- item.current_display %></td>
44 <td><%- Drupal.webprofiler.helpers.printTime(item.build_time) %></td>
45 <td><%- Drupal.webprofiler.helpers.printTime(item.execute_time) %></td>
46 <td><%- Drupal.webprofiler.helpers.printTime(item.render_time) %></td>
47 <td><a href="<%- item.route %>">{{ 'Edit'|t }}</a></td>
53 <p>{{ 'No results'|t }}</p>