{% for current_action in get_note_actions(note) %}
{% endfor %}
{% endif %}
{% endblock note_actions %}
{% block note_replies %}
{% if replies is defined and replies is not empty %}
{% for conversation in replies %}
{{ _self.macro_note(conversation['note'], conversation['replies']) }}
{% endfor %}
{% endif %}
{% endblock note_replies %}
{% block note_attachments %}
{% if hide_attachments is not defined %}
{% if note.getAttachments() is not empty %}
{% for attachment in note.getAttachments() %}
{% include '/cards/attachments/view.html.twig' with {'attachment': attachment, 'note': note} only%}
{% endfor %}
{% endif %}
{% endif %}
{% endblock note_attachments %}
{% block note_links %}
{% if note.getLinks() is not empty %}
{% for link in note.getLinks() %}
{% for block in handle_event('ViewLink', {'link': link, 'note': note}) %}
{{ block | raw }}
{% endfor %}
{% endfor %}
{{ block('note_text') }}
{{ block('note_attachments') }}
{{ block('note_links') }}
{% for block in handle_event('AppendCardNote', {'note': note, 'actor': note.getActor() }) %}
{% endfor %}
{{ block('note_replies') }}
{# {% if note_language is defined and note_language is not empty %}#}
{#
{{ note_language }}
#}
{# {% endif %}#}
{% endmacro macro_note %}
{% macro macro_note_minimal(note) %}
{% set nickname = note.getActorNickname() %}
{% set fullname = note.getActorFullname() %}
{% set actor_url = note.getActor().getUrl() %}
{{ block('note_sidebar') }}