{% extends "gstudio/base.html" %} {% load i18n comments gstudio_tags %} {% load adminmedia grp_tags %} {% load gstudio_tags %} {% load pagination_tags %} {% load i18n objectapp_tags %} {% load tagging_tags comments i18n %} {% block title %}{{ page_ob.title }}{% endblock %} {% block content %} {% autopaginate section 1 %}
Subsections : {% show_commentpage each user.id flag1 admin_id attribute %} {% endfor %} {% endautoescape %} {% block nodetype-comments %}
{% trans "Comments" %}
{% with page_ob.comments as comment_list %} {% if comment_list.count %}{% for comment in comment_list %}-
{% if comment.url %}
{{ comment.user_name }}
{% else %}
{{ comment.user_name }}
{% endif %}
{% trans "on" %} {{ comment.submit_date|date:"SHORT_DATETIME_FORMAT" }}
{{ comment.comment|linebreaks }}
{% endfor %}
{% if not page_ob.comments_are_open %}{% trans "Comments are closed." %}
{% endif %} {% else %} {% if page_ob.comments_are_open %}{% trans "No comments yet." %}
{% else %}{% trans "Comments are closed." %}
{% endif %} {% endif %} {% endwith %}