{% set nickname = note.getActorNickname() %}
{{ nickname }}
{% set reply_to = note.getReplyToNickname() %}
{% if reply_to is not null and not skip_reply_to is defined %}
{% trans with {'%name%': reply_to}%} in reply to %name% {% endtrans %}
{% endif %}
{% for other in get_note_other_content(note) %}
{% include '/'~ other.name ~ '/view.html.twig' with {'vars': other.vars} only %}
{% endfor %}
{% for attachment in note.getAttachments() %}
{% if attachment.mimetype starts with 'image/' %}
{% elseif attachment.mimetype starts with 'video/' %}
{% else %}
{{ attachment.getTitle() }}
{% endif %}
{% endfor %}
{% if have_user %}
{#{% for act in get_note_actions(note) %}#}
{#{{ form(act) }}#}
{#{% endfor %}#}
{% endif %}
{% if replies is defined %}
{% for conversation in replies %}
{% include '/note/view.html.twig' with {'note': conversation['note'], 'skip_reply_to': true, 'have_user': have_user, 'replies': conversation['replies']} only %}
{% endfor %}