{% if comment.is_author_reply %}Author{% endif %} {{comment.author.user.first_name}} {{comment.author.user.last_name}} on {{comment.date_submitted|date:'Y-m-d'}} {% if comment.doi_string %} doi: {{ comment.doi_string }}{% endif %}
{% if comment|is_reply_to_comment %} (in reply to {{comment.content_object.author.user.first_name}} {{comment.content_object.author.user.last_name}} on {{comment.content_object.date_submitted|date:'Y-m-d'}}) {% elif comment|is_reply_to_report %} (in reply to Report {{comment.content_object.report_nr}} {% if not comment.content_object.anonymous %} by {{comment.content_object.author.user.first_name}} {{comment.content_object.author.user.last_name}} {% endif %} on {{comment.content_object.date_submitted|date:'Y-m-d'}}) {% endif %}