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