No comments.
{% endif %} {% if photo.can_comment %} {% if current_user.is_authenticated %} {% if current_user.can('COMMENT') %} {% if request.args.get('reply') %}No permission.
{% endif %} {% else %}Login or Register to leave a comment.
{% endif %} {% else %}Comment disabled.
{% endif %}
{{ comment.author.name }} {% if comment.author == photo.author %} Author {% endif %} {{ moment(comment.timestamp).fromNow(refresh=True) }} {% if current_user.is_authenticated %} {% if current_user != comment.author %} Reply {% endif %} {% if current_user == comment.author or current_user == photo.author or current_user.can('MODERATE') %} Delete {% endif %} {% if current_user != comment.author %} {% endif %} {% endif %}
{% if comment.replied %} Reply {{ comment.replied.author.name }}: {% endif %} {{ comment.body }}