{% extends "gstudio/base.html" %} {% load adminmedia grp_tags %} {% load i18n comments gstudio_tags %} {% load tagging_tags comments i18n %} {% block title %}{{ image.title }}{% endblock %} {% block content %}
{% csrf_token %} Name : {{image.title}}
Posted By : {% for author in image.authors.all %} {{author}} {% endfor %}
Posted At : {{image.creation_date}}
Description: {%autoescape on%} {% with image.html_content|safe as image_content %} {{image_content}} {% endwith %} {% endautoescape%} {% if user.is_authenticated %} {% endif %}

{% ifequal image.rating.get_rating 0 %} Current rating is:   No rating yet {% else %} Average Current rating is:   {{ image.rating.get_rating }}
Total Number of votes is:  {{ image.rating_votes }} {% endifequal %}
{% if user.is_authenticated %}
{% csrf_token %}

{% csrf_token %}
{% endif %}

{% trans "Tags" %} : {% tags_for_object image as tag_list %} {% for tag in tag_list %} {% empty %} {% trans "No tags" %} {% endfor %}



{% block nodetype-comments %}
{% trans "Comments" %}
{% with image.comments as comment_list %} {% if comment_list.count %}
    {% for comment in comment_list %} {% endfor %}
{% if not image.comments_are_open %}

{% trans "Comments are closed." %}

{% endif %} {% else %} {% if image.comments_are_open %}

{% trans "No comments yet." %}

{% else %}

{% trans "Comments are closed." %}

{% endif %} {% endif %} {% endwith %}
{% endblock %}
{% render_comment_form for image %}



{% endblock %}