{{ comment.user.get_full_name|default:comment.user.username|make_list|first|upper }}
{{ comment.user.get_full_name|default:comment.user.username }}
{{ comment.created_at|timesince }} ago
{% if request.user == comment.user or request.user.is_superuser %}
Edit
{% endif %}
{{ comment.comment|safe }}
{% if comment.created_at|date:"U" != comment.updated_at|date:"U" %}
(edited {{ comment.updated_at|timesince }} ago)
{% endif %}
{% csrf_token %} {% include "components/rich_text_editor.html" with input_name="comment" alpine_model="replyContent" %}
{% if comment.replies.all %}
{% for reply in comment.replies.all %} {% include "tickets/partials/comment_item.html" with comment=reply %} {% endfor %}
{% endif %}