<% var from = i18n._('sans_expediteur'), to = i18n._('sans_destinataire'); if (email.media.from) { if (email.media.from.name !== '') { from = ` ${i18n._p('destinataire','de')} : ${email.media.from.name} <${email.media.from.address}> `; } else { from = `${i18n._p('destinataire','de')} : ${email.media.from.address}`; } } if (email.media.to) { to = `${i18n._p('destinataire','a')} : `; to += _.map(email.media.to, function(t){ return t.address; }).join(', '); } if (email.media.cc) { to += ` | ${i18n._('cc')} : `; to += _.map(email.media.cc, function(t){ return t.address; }).join(', '); } if (email.media.bcc) { to += ` | ${i18n._('bcc')} : `; to += _.map(email.media.bcc, function(t){ return t.address; }).join(', '); } %>
<%- (email.media.object == '') ? '(' + i18n._('aucun_objet') + ')' : email.media.object %>
<% if(contentIsSecured) { %>
<%= i18n._('ressources_externes_ne_sont_pas_affichees') %> <%= i18n._('Charger les ressources') %>
<% } %> <% if (attachments.length) { %>
<% _.each(attachments, function(attachment) { %> <% if (attachment.content_id === '') { %>
  • <%- attachment.name %>
  • <% } %> <% }) %>
    <% } %>