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