2022-02-27 00:42:59 +00:00
|
|
|
{% import '/cards/macros/note/factory.html.twig' as NoteFactory %}
|
2022-03-01 11:27:19 +00:00
|
|
|
<section class="note-replies" title="{% trans %}Replies to %nickname%'s note{% endtrans %}">
|
2022-02-27 00:42:59 +00:00
|
|
|
<div class="note-replies-start"></div>
|
|
|
|
<div class="u-in-reply-to replies">
|
|
|
|
{% for reply in conversation.replies %}
|
|
|
|
<span class="note-replies-indicator" role="presentation"></span>
|
2022-03-01 11:27:19 +00:00
|
|
|
{% set args = reply | merge({ 'type': 'vanilla_full'}) %}
|
2022-02-27 00:42:59 +00:00
|
|
|
{{ NoteFactory.constructor(args) }}
|
|
|
|
{% endfor %}
|
|
|
|
{% if conversation.show_more %}
|
|
|
|
<a href="{{ conversation.note.getConversationUrl() }}">
|
2022-03-01 13:19:38 +00:00
|
|
|
{{ trans({
|
2022-02-27 00:42:59 +00:00
|
|
|
'1': 'Show an additional reply',
|
|
|
|
'other': 'Show # additional replies'
|
2022-03-01 13:19:38 +00:00
|
|
|
}, {'count': (conversation.total_replies - config('plugin_tree_notes', 'feed_replies'))}) }}
|
2022-02-27 00:42:59 +00:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-03-01 11:27:19 +00:00
|
|
|
</section>
|