summaryrefslogtreecommitdiff
path: root/templates/replies/index.jinja
blob: a3fbb0e4e66b3ed54455c07d725c2dbed74d50b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% import 'macros/pagination.jinja' as pagination %}

<div id="replies-section-{{comment.id}}" class="replies-section">
    {% for reply in page.items %}
	<div id="reply-{{reply.id}}" class="comment">
	    <section class="comment-meta">
		<div class="author">
		    {% if reply.author is eq('') %}
			Anonymous replied:
		    {% else %}
			{{ reply.author }} replied:
		    {% endif %}
		</div>
		<div class="date">
		    {{ reply.created_at.date().isoformat() }}
		</div>
	    </section>
	    <textarea rows="4" cols="40" disabled="true">
		{{ reply.content }}
	    </textarea>
	</div>
    {% endfor %}
	{{ pagination.render_reply_pagination(page, comment.id) }}
</div>