{% set nickname = note.getActorNickname() %}
{# TODO: this should link to the note's user profile? #}
{# Microformat's h-card properties indicates a face icon is a "u-logo" #} {{ nickname }} {% if app.user %}
{% for current_action in get_note_actions(note) %} {{ form(current_action) }} {% endfor %}
{% endif %} {% 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 %}
{% if replies is defined and replies is not empty %}
{% 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 %}
{% endif %} {% if reply_to is not empty %}
{% endif %}