3 <a href="{{ idelink(collector.themeNegotiator.class.file, collector.themeNegotiator.class.line)|raw }}">{{ abbr(collector.themeNegotiator.class.class)|raw }}
4 ::{{ collector.themeNegotiator.class.method }}</a>
6 {% set time = collector.templatecount ? '%0.0f ms'|format(collector.time) : 'n/a' %}
8 <a href="{{ url("webprofiler.dashboard", {profile: token}, {fragment: 'theme'}) }}" title="{{ 'Theme'|t }}">
9 <img width="20" height="28" alt="{{ 'Theme'|t }}"
10 src="data:image/png;base64,{{ collector.icon }}"/>
11 <span class="sf-toolbar-info-piece-additional sf-toolbar-status">{{ collector.activeTheme.name }}</span>
16 <div class="sf-toolbar-info-piece">
18 <span>{{ collector.activeTheme.name }}</span>
20 <div class="sf-toolbar-info-piece">
21 <b>{{ 'Engine'|t }}</b>
22 <span>{{ collector.activeTheme.engine }}</span>
24 <div class="sf-toolbar-info-piece">
25 <b>{{ 'Negotiator'|t }}</b>
26 <span>{{ negotiator }}</span>
28 <div class="sf-toolbar-info-piece">
29 <b>{{ 'Render Time'|t }}</b>
30 <span>{{ time }}</span>
32 <div class="sf-toolbar-info-piece">
33 <b>{{ 'Template Calls'|t }}</b>
34 <span>{{ collector.templatecount }}</span>
36 <div class="sf-toolbar-info-piece">
37 <b>{{ 'Block Calls'|t }}</b>
38 <span>{{ collector.blockcount }}</span>
40 <div class="sf-toolbar-info-piece">
41 <b>{{ 'Macro Calls'|t }}</b>
42 <span>{{ collector.macrocount }}</span>
46 <div class="sf-toolbar-block">
47 <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
48 <div class="sf-toolbar-info">{{ text|default('') }}</div>
53 <script id="theme" type="text/template">
54 <h2 class="panel__title">{{ 'Theme'|t }}</h2>
55 <div class="panel__container">
56 <table class="table--fixed">
58 <th>{{ 'Name'|t }}</th>
59 <td><%- data.activeTheme.name %> (<a href="/admin/appearance/settings/bartik">{{ 'Edit'|t }})</a>
63 <th>{{ 'Engine'|t }}</th>
64 <td><%- data.activeTheme.engine %></td>
67 <th>{{ 'Base theme'|t }}</th>
68 <td><%- data.activeTheme.extension.base_theme %></td>
71 <th>{{ 'Regions'|t }}</th>
72 <td><%= Drupal.webprofiler.helpers.frm(data.activeTheme.regions) %></td>
75 <th>{{ 'Libraries'|t }}</th>
76 <td><%= Drupal.webprofiler.helpers.frm(data.activeTheme.libraries) %></td>
79 <th>{{ 'Style sheets removed'|t }}</th>
80 <td><%= Drupal.webprofiler.helpers.frm(data.activeTheme.styleSheetsRemove) %></td>
83 <th>{{ 'Path'|t }}</th>
84 <td><%- data.activeTheme.path %></td>
87 <th>{{ 'Negotiator'|t }}</th>
88 <td><%= Drupal.webprofiler.helpers.classLink(data.negotiator.class) %></td>
93 <div class="panel__container">
94 <ul class="list--inline">
95 <li><b>{{ 'Twig statistics'|t }}</b></li>
98 <table class="table--fixed">
100 <th>{{ 'Total Render Time'|t }}</th>
101 <td><%- Drupal.webprofiler.helpers.printTime(data.twig.render_time) %></td>
104 <th>{{ 'Template Calls'|t }}</th>
105 <td><%- data.twig.template_count %></td>
108 <th>{{ 'Block Calls'|t }}</th>
109 <td><%- data.twig.block_count %></td>
112 <th>{{ 'Macro Calls'|t }}</th>
113 <td><%- data.twig.macro_count %></td>
118 <div class="panel__container">
119 <ul class="list--inline">
120 <li><b>{{ 'Twig rendered templates'|t }}</b></li>
123 <table class="table--fixed">
126 <th>{{ 'template'|t }}</th>
127 <th>{{ 'count'|t }}</th>
130 <% _.each( data.twig.templates, function( item, key ){ %>
139 <div class="panel__container">
140 <ul class="list--inline">
141 <li><b>{{ 'Twig callgraph'|t }}</b></li>
144 <%= data.twig.callgraph %>