<% if (_t === 'sent') { %>
<%= t('msg.you') %>
<% if (n.to_handle && !_sub) { %>
→ <%= n.to_handle %><% } %>
<% } else { %>
<%- emojiName(_who, n.actor_emoji_json) %>
<% /* De naam blijft: binnen een draad moet je zien WIE wat zei.
De handle erachter niet -- die staat in de kop. */ %>
<% if (n.handle && n.name && !_sub) { %>
<%= n.handle %><% } %>
<% } %>
<% if (_new) { %>
<% } %>
<% /* When the post was written, like de Krant and de Guardian PWA
show it. created_at (when it reached us) stays the sort key
and drives the "new since your last visit" dot above. */ %>
<% if (n.published || n.created_at) { %>
<%= formatDateTime(n.published || n.created_at) %><% } %>
<% var _hasWhat = !_sub || _priv
|| (_t === 'mention' && (n.help_request || n.wave || n.note_url))
|| (_t === 'sent' && n.in_reply_to); %>
<% if (_hasWhat) { %>
<% if (n.count && n.count > 1) { %>
<%= t('msg.and_more', { n: n.count - 1 }) %>
<%= _t === 'like' ? t('msg.liked_many') : t('msg.boosted_many') %>
<% } else if (_t === 'follow') { %><%= t('notif.followed') %>
<% } else if (_t === 'like') { %><%= t('notif.liked') %>
<% } else if (_t === 'boost') { %><%= t('notif.boosted') %>
<% } else if (_t === 'report') { %><%= t('notif.reported') %>
<% } else if (_t === 'mention' && n.help_request) { %>🛟 <%= t('msg.help_request') %>
<% } else if (_t === 'mention' && n.wave) { %>👋 <%= t('msg.waved_at_you') %>
<% } else if (_sub) { %><%# binnen een draad zegt de kop al dat dit een gesprek is %>
<% } else if (_t === 'mention') { %><%= t('notif.mentioned') %>
<% } else if (_t === 'sent') { %><%= t('msg.sent_reply') %>
<% } else if (_t === 'poll_done') { %>
<%= t('msg.poll_done') %>
<% } else { %><%= t('notif.replied') %><% } %>
<% if (_priv) { %>
🔒 <%= t('msg.private') %><% } %>
<% if (n.post_slug && !_sub) { %>
<%= n.post_title || n.post_slug %><% } %>
<% if (_t === 'mention' && n.note_url) { %>
<%= t('tl.view_original') %><% } %>
<% if (_t === 'sent' && n.in_reply_to) { %>
<%= t('tl.view_original') %><% } %>
<% } %>
<% if (_t === 'report' && n.content) { %>
<%= n.content %>
<% } else if ((_t === 'reply' || _t === 'mention' || _t === 'sent') && n.content) { %>
<%- include('../partials/note-body', { nb: n }) %>
<% if (_t === 'mention' && n.wave && n.actorUri && canMutate) { %>
<% } %>
<% } else if (_t === 'poll_done' && n.poll) { %>
<% n.poll.options.forEach(function (o) { %>
<%= o.name %><%= o.pct %>%
<% }); %>
<%= t('msg.poll_total', { n: n.poll.voters }) %>
<% } %>
<% if (_t === 'sent' && n.outboxId) { %>
<%= t('fedi.edit') %>
<%- include('../partials/reply-editor', {
action: '/fediverse/' + n.outboxId + '/edit',
placeholder: t('fedi.reply_ph'),
submitLabel: t('fedi.save_edit'),
rows: 2,
initialHtml: n.content,
initialText: n.editable,
defaultLang: n.language,
noAttach: true,
}) %>
<% } %>