{% load i18n collaborative thumbnail %} {% with comment.get_last_revision_status as revision_status %} {% ifcanviewcollabcomment comment %}
{% url ajax_get_comment comment.id %}

{{ comment.comment_user_type }}

{% if revision_status.type.decorator %} {% thumbnail revision_status.type.decorator "20x20" as thumb %} {% endthumbnail %} {% endif %}{{ revision_status|default:"" }}
{% ifequal revision_status.type.result "replace" %} {{ revision_status.type.reason }} {% else %} {{ comment.comment }} {% endifequal %}
{% trans "By" %}: {{ comment.get_user_name }}
{% trans "Revision History" %} {% for status in comment.collabcommentrevisorstatus_set.all %} {% ifcanviewstatus status %}
{{ status.revision_date }}
{% if status.type.decorator %} {% thumbnail status.type.decorator "10x10" as thumb %} {% endthumbnail %} {% endif %} {{ status }}{% if status.short_comment %}:
{{ status.short_comment }}
{% endif %}
{% trans "Revisor" %}: {{ status.revisor }}
{% endifcanviewstatus %} {% endfor %}
{% if is_revisor %}
{% trans "Revise this comment" %}
{% endif %}
{% endifcanviewcollabcomment %} {% endwith %}