[% IF interacted_with && !compact %]
[% format_username(boost || notif.account) %] [% action_to_string() %] [% action_to_icon() %]
[% END %]
[% format_username(compact && interacted_with ? boost || notif.account : status.account) %] [% IF interacted_with && compact %] [% action_to_string() %] [% action_to_icon() %] [% END %] [% UNLESS compact %] [% status.account.acct %] [% END %]
[%# Note: The id may actually (99.5% of the time) be the acct %] [% IF status.in_reply_to_id && !(compact && interacted_with) %] [% UNLESS compact %]In reply to[% END %] [% status.pleroma.in_reply_to_account_acct || status.in_reply_to_account_id %] [% END %] [% IF status.spoiler_text %] [% emojify(escape(status.spoiler_text), status.emojis) %] [% END %] [% greentextify(emojify(fix_mentions(status.content), status.emojis)) %] [% IF status.media_attachments %]
[% i = 0 %] [% FOREACH att IN status.media_attachments %] [%# Set a limit if compact %] [% LAST IF i >= 6 && compact %] [% make_att(ssn, data, att, status.sensitive) %] [% i = i + 1 %] [% END %]
[% END %] [%# TODO {{%s:interactions}} %] [% IF status.pleroma.emoji_reactions %]
[% FOREACH emo IN status.pleroma.emoji_reactions %] [% make_emoji(ssn, data, status.id, emo) %] [% END %]
[% END %]
[% IF !notif || is_statusey_notif %]
[% IF ssn.config.stat_oneclicksoftware %]
[% END %] [% icon('emoji') %] [% IF emoji_picker -%] aaa [% emoji_picker %] [%- END %]
[% END %] [%# Put these at the end, incase someone wants to move status icons to the beginning (this makes it easier %] [% UNLESS compact %] [% icon('expand') %] [%- rel_to_str(status.created_at) -%] [% IF status.application && status.application.name && !notif %] [% IF status.application.url %] [% status.application.name %] [% ELSE %] [% status.application.name %] [% END %] [% END %] [% END %]
[% IF ssn.logged_in %] [% make_postbox(ssn, data, status) %] [% END %]