{% load i18n %} {% load dialogos_tags %}

{{ annotation.title }}

{{ annotation.content|linebreaks }}


{% trans "Author" %} : {{ annotation.owner.username }}

{% trans "Date" %}: {{ annotation.modified_dttm }}

{% trans "Comments" %}

{% comments annotation as comments %} {% for comment in comments %}
{{ comment.comment|escape|urlize|safe }}

{{ comment.author.get_full_name|default:comment.author|capfirst }} commented {% blocktrans with comment.submit_date|timesince as age %} {{ age }} ago {% endblocktrans %}

{% endfor %} {% if request.user.is_authenticated %}

{% trans "Post a comment" %}

{% comment_form annotation as comment_form %}
{% csrf_token %}
{{ comment_form.comment }}
{% else %}

{% trans "Login to add a comment" %}

{% endif %}