3 <a href="{{ url("webprofiler.dashboard", {profile: token}, {fragment: 'drupal_extension'}) }}"
4 title="{{ 'Extensions'|t }}">
5 <img width="20" height="28" alt="{{ 'Extensions'|t }}"
6 src="data:image/png;base64,{{ collector.icon }}"/>
7 <span class="sf-toolbar-info-piece-additional sf-toolbar-status{% if 150 < collector.countExtensions %} sf-toolbar-status-yellow{% endif %}">{{ collector.getExtensionsCount }}</span>
11 <div class="sf-toolbar-info-piece">
12 <b>{{ 'Active Modules'|t }}</b>
13 <span>{{ collector.getModulesCount }}</span>
15 <div class="sf-toolbar-info-piece">
16 <b>{{ 'Active Themes'|t }}</b>
17 <span>{{ collector.getThemesCount }}</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="drupal_extension" type="text/template">
29 <h2 class="panel__title">{{ 'Extensions'|t }}</h2>
31 <input class="tabs__radio" type="radio" id="modules" name="tabs" checked/>
32 <input class="tabs__radio" type="radio" id="themes" name="tabs"/>
33 <ul class="tabs__tabs list--inline">
34 <li><label class="tabs__label" for="modules">{{ 'Modules'|t }}</label></li>
35 <li><label class="tabs__label" for="themes">{{ 'Themes'|t }}</label></li>
38 <div class="tabs__panels">
39 <div class="tabs__panel">
40 <div class="panel__container">
41 <table class="table--compact">
44 <th>{{ 'Name'|t }}</th>
45 <th>{{ 'Path'|t }}</th>
46 <th>{{ 'Info file'|t }}</th>
50 <% _.each( data.drupal_extension.modules, function( value, key ){ %>
51 <% if(value.public_type == 'module') { %>
54 <td><%- value.public_path %></td>
55 <td><%= Drupal.webprofiler.helpers.classLink({"file" :
56 data.drupal_extension.installation_path + value.public_pathname, "class":
57 value.public_pathname, "line": 0}) %>
67 <div class="tabs__panel">
68 <div class="panel__container">
69 <table class="table--compact">
72 <th>{{ 'Name'|t }}</th>
73 <th>{{ 'Path'|t }}</th>
74 <th>{{ 'Info file'|t }}</th>
78 <% _.each( data.drupal_extension.themes, function( value, key ){ %>
81 <td><%- value.public_path %></td>
82 <td><%= Drupal.webprofiler.helpers.classLink({"file" :
83 data.drupal_extension.installation_path + value.public_pathname, "class":
84 value.public_pathname, "line": 0}) %>