{% 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 %} {% import '/cards/macros/note/factory.html.twig' as NoteFactory %} {% if replies is defined and replies is not empty %}
    {% for conversation in replies %} {% if extra.depth is defined %} {% set depth_increment = {'depth': extra.depth + 1} %} {% set parent = {'parent': block('note_author')} %} {% set extra = extra|merge(depth_increment) %} {% set extra = extra|merge(parent) %} {% endif %} {% set args = { 'type': 'vanilla_full', 'note': conversation['note'], 'replies': conversation['replies'] | default, 'extra': extra } %} {{ NoteFactory.constructor(args) }} {% 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/blocks/attachment.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 %}
    {% set paragraph_array = note.getRenderedSplit() %} {% for paragraph in paragraph_array %}

    {{ paragraph | raw }}

    {% endfor %}
    {% 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 %} {% set complementary_info_array = handle_event('AppendCardNote', { 'note': note, 'request': app.request }) %} {% endblock note_complementary %}