3 <a href="{{ url("webprofiler.dashboard", {profile: token}, {fragment: "mail"}) }}" title="{{ 'Mail'|t }}">
4 <img height="28" alt="{{ 'Mail'|t }}"
5 src="data:image/png;base64,{{ collector.icon }}"/>
6 <span class="sf-toolbar-status">{{ collector.mailsent }}</span>
10 <div class="sf-toolbar-info-piece">
12 <span>{{ collector.mailsent }}</span>
16 <div class="sf-toolbar-block">
17 <div class="sf-toolbar-icon">{{ icon|default('') }}</div>
18 <div class="sf-toolbar-info">{{ text|default('') }}</div>
23 <script id="mail" type="text/template">
24 <h2 class="panel__title">{{ 'Mail dashboard'|t }}</h2>
26 <% if( data.mail.length != 0){ %>
27 <% _.each( data.mail, function( item ) { %>
28 <div class="panel__container">
29 <div class="panel__expand-header">
30 <ul class="list--inline">
32 <b>{{ 'Plugin'|t }}</b>: <%= Drupal.webprofiler.helpers.classLink(item.method) %>
35 <b>{{ 'ID'|t }}</b>: <%- item.message.id %>
38 <b>{{ 'To'|t }}</b>: <%- item.message.to %>
41 <b>{{ 'Subject'|t }}</b>: <%- item.message.subject %>
44 <div class="button--flat l-right js--panel-toggle">{{ 'Info'|t }}</div>
47 <div class="panel__expand-content">
48 <table class="table--duo">
49 <% _.each( item.message, function( message, key ) { %>
50 <% if( key != 'params' && key != 'headers' ){ %>
53 <td><%- message %></td>
58 <table class="table--duo">
59 <% _.each( item.message.headers, function( header, key ) { %>
62 <td><%- header %></td>
71 <div class="panel__container">
72 <p>{{ 'No mail sent'|t }}</p>