{% block note_actions %} {% if app.user or note_actions_hide is defined %}
  • {{ icon('kebab', 'icon icon-note-actions-extra') | raw }} {{ 'Permalink' | trans }}
    {% for current_action in get_extra_note_actions(note) %} {{ current_action['title'] }} {% endfor %}
  • {% 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 %}
    {{ 'Replies to ' | trans }}{{ nickname }}{{ '\'s note' | trans }} {% 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, 'title': attachment.getBestTitle(note)} only %} {% endfor %}
    {% endif %} {% endif %} {% endblock note_attachments %} {% block note_links %} {% if note.getLinks() is not empty %} {% endif %} {% endblock note_links %} {% block note_text %}
    {{ note.getRendered() | raw }}
    {% endblock note_text %} {% block note_author %} {# Microformat's h-card properties indicates a face icon is a "u-logo" #} {% if fullname is not null %} {{ fullname }} {% else %} {{ nickname }} {% endif %} {{ mention }} {% endblock note_author %} {% block note_sidebar %} {% endblock note_sidebar %} {% block note_info %} {{ block('note_author') }} {{ 'in conversation' | trans }} {{ note.getModified() | ago }} {% endblock note_info %} {% block note_complementary_info %} {% for complementary_info in handle_event('AppendCardNote', {'note': note }) %} {% endfor %} {% endblock note_complementary_info %} {% macro macro_note(note, replies) %} {% set actor = note.getActor() %} {% set nickname = actor.getNickname() %} {% set fullname = actor.getFullname() %} {% set actor_uri = actor.getUri() %} {% set actor_url = actor.getUrl() %} {% set mention = mention(actor) %} {% set note_language = note.getNoteLanguageShortDisplay() %}
    {{ block('note_sidebar') }}
    {{ block('note_info') }} {{ block('note_actions') }}
    {{ block('note_replies') }} {{ block('note_complementary_info') }}
    {% endmacro macro_note %} {% macro macro_note_minimal(note) %} {% set actor = note.getActor() %} {% set nickname = actor.getNickname() %} {% set fullname = actor.getFullname() %} {% set actor_uri = actor.getUri() %} {% set actor_url = actor.getUrl() %} {% set mention = mention(actor) %}
    {{ block('note_sidebar') }}
    {{ block('note_author') }}
    {% endmacro macro_note_minimal %}