{% load i18n %}
{% trans "Comments" %} ({{ comments.count }})
{% if 'HX-Request' in request.headers %} {% endif %}
{% if comments %}
{% for comment in comments %}
{{ comment.author.get_full_name|default:comment.author.username }} {% if comment.author != user %} {% trans "Comment" %} {% endif %}
{{ comment.created_at|date:"M d, Y P" }}

{{ comment.content|safe }}

{% if comment.author == user or user.is_staff %}
{% endif %}
{% endfor %}
{% else %}

{% trans "No comments yet. Be the first to comment!" %}

{% endif %}