{% 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 %}

{{ page_ob.title }} {% if user.is_authenticated %} {% edit_title page_ob.id page_ob.title %} {% endif %}

Wikipage posted on : {{page_ob.creation_date}} by {% for author in page_ob.authors.all %} {{author}} {% endfor %}  [ Show Graph ]  

{% with page_ob.html_content|safe as page_ob_content %} {{page_ob_content}} {% endwith %} {% if user.is_authenticated %}
{% csrf_token %}

{% endif %} {% add_res_relation page_ob %}
{% addpriorpost page_ob.id user %} {% addtag ot page_ob.id user %} {% ifequal document.rating.get_rating 0 %} Current rating is:   No rating yet {% else %} Average Current rating is:

{{ page_ob.rating.get_rating }}

Total Number of votes is:  {{ page_ob.rating_votes }} {% endifequal %}
{% if user.is_authenticated %}
{% csrf_token %}

{% endif %} {% if user.is_authenticated %}
{% csrf_token %}
{% endif %}
{% autoescape off %} {% for each in section %}

{{each.title}}  [ Show Graph ]

Posted on : {{each.creation_date}} by {% for author in each.authors.all %} {{author}} {% endfor %}
{% ifequal each.rating.get_rating 0 %}
Not yet rated
{% else %} Current rating is
{{ each.rating.get_rating }}
{% endifequal %} {%autoescape on%} {% with each.html_content|safe as each_content %} {{each_content}} {% endwith %} {% endautoescape%} {% if user.is_authenticated %}
{% csrf_token %}
{% endif %}
{% addtag each each.id user %} {% if user.is_authenticated %}
{% csrf_token %}





Do you wanna rate it ?
{% endif %}

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 %} {% 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 %}
{% endblock %}
{% render_comment_form for ot %}
{% paginate %} {% endblock %}