gnu-social/plugins/AttachmentShowRelated/templates/attachmentShowRelated/attachmentRelatedNotes.html.twig

14 lines
441 B
Twig
Raw Normal View History

{% import '/cards/macros/note/factory.html.twig' as NoteFactory %}
<section class="frame-section frame-section-padding">
<div class="section-title">
<span class="heading-no-margin">
{{ 'Notes related' | trans }}
</span>
</div>
{% for note in related_notes %}
{% set args = { 'type': 'vanilla_compact', 'note': note } %}
{{ NoteFactory.constructor(args) }}
{% endfor %}
</section>