{% extends "base.html" %} {% load i18n plmapp_tags more_like_this humanize %} {% load comments %} {% block content %}
{{description|capfirst}} |
{% if attribute.year %}
{{ attribute|date:"DATETIME_FORMAT" }} —
{% blocktrans with attribute|timesince as time_since %}{{time_since}} ago{% endblocktrans %}
{% elif richtext %}
{{ attribute|richtext_filter:obj }}
{% else %}
{{attribute|linebreaks}}
{% endif %}
|
{% trans "Comments" %}
{% if comment_count == 1 %} {% blocktrans %} One comment has been posted. {% endblocktrans %} {% else %} {% blocktrans %} {{ comment_count }} comments have been posted. {% endblocktrans %} {% endif %}
{% get_comment_list for obj.object as comment_list %}
{% for comment in comment_list %}-
{{ comment.comment|richtext_filter:obj }}
{% endfor %}
{% else %}{% trans "Posted by:" %} {{ comment.user.get_full_name }} {% trans "Date:" %} {{ comment.submit_date|naturalday }}, {{ comment.submit_date|naturaltime }} #
{% trans "No comments have been posted yet." %}
{% endif %}{% trans "Post a comment" %}
{% get_comment_form for obj.object as form %}