12 lines
982 B
HTML
12 lines
982 B
HTML
{% load slx_brand %}
|
|
<article id="comment-{{ comment.pk }}" class="fan-comment manga-comment{% if reply %} fan-reply{% endif %}">
|
|
{% include 'comment-byline.html' %}
|
|
<div class="manga-balloon"><p>{{ comment.body|slx_brand|linebreaksbr }}</p></div>
|
|
<div class="manga-comment-actions">
|
|
{% include 'reaction-strip.html' with group=comment.reactions reaction_for='React to comment' %}
|
|
{% if user.is_authenticated %}
|
|
{% if not reply %}<details class="fan-compose"><summary>Reply</summary><form method="post" action="{% url 'fan-action' fan.target_kind fan.target_id %}">{% csrf_token %}<input type="hidden" name="parent" value="{{ comment.pk }}"><label for="reply-{{ comment.pk }}" class="screen-only">Reply to {{ comment.author.username }}</label><textarea id="reply-{{ comment.pk }}" name="body" rows="3" maxlength="1800" required></textarea><button class="fan-button" name="action" value="comment">Post reply</button></form></details>{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
</article>
|