{% load tagging_tags comments i18n %}
{% trans "Written by" %} {% for author in object.authors.all %} {{ author }} {% if not forloop.last %}, {% endif %} {% endfor %} {% trans "on date" %} {{ object.creation_date|date:"d F Y"|capfirst }} {% trans "in" %} {% for category in object.categories.all %} {{ category }} {% if not forloop.last %}, {% endif %} {% endfor %}.
{% trans "Tags" %} : {% tags_for_object object as tag_list %} {% for tag in tag_list %} {{ tag }} {% empty %} {% trans "No tags" %} {% endfor %}
{% trans "Short url" %} : {% if object.get_short_url %} {{ object.get_short_url }} {% else %} {% trans "Unavailable" %} {% endif %}
{% with object.get_comments.count as comment_count %} {% if comment_count %} {% blocktrans count comment_count as comment_count %} {{ comment_count }} comment {% plural %} {{ comment_count }} comments {% endblocktrans %} {% else %} {% if object.comment_enabled %} {% trans "Not yet comments." %} {% trans "Be first to comment !" %} {% else %} {% trans "Comments are closed." %} {% endif %} {% endif %} {% endwith %}