{% extends "gstudio/base.html" %} {% load i18n comments gstudio_tags %} {% block title %}{{ object.title }}{% endblock %} {% block meta-description %}{% if object.excerpt %}{{ object.excerpt|striptags }}{% else %}{{ object.content|striptags|truncatewords:100 }}{% endif %}{% endblock %} {% block meta-keywords %}{% if object.tags %}{{ object.tags }}{% else %}{{ block.super }}{% endif %}{% endblock %} {% block link %} {{ block.super }} {% with object.previous_nodetype as previous_nodetype %}{% if previous_nodetype %} {% endif %}{% endwith %} {% with object.next_nodetype as next_nodetype %}{% if next_nodetype %} {% endif %}{% endwith %} {% with year=object.creation_date|date:"Y" month=object.creation_date|date:"m" day=object.creation_date|date:"d" %} {% endwith %} {% endblock %} {% block content %} {% block nodetype-content %}

{{ object.title }}

Versions:  {% for sid in object.ref.get_ssid %} +   {% endfor %}
{% with object.html_content|safe as object_content %} Name: {{ object.title }}
CNL:
{% get_CNL object as cnlobj %} {% for obj in cnlobj %} {{obj}}
{% endfor %} {% if object.content %} Content:
{% csrf_token %}

{{object_content}}
{% else %} Content:
{% csrf_token %}

{{object_content}}
{% endif %} {% endwith %} {% endblock %} {% if user.is_authenticated %}

{% if object.reftype == 'Objecttype' %} Add Attribute for: {% for key,value in object.get_at_url_add.items %} {{key}} ;
{% endfor %}

Add Relations:( Add Another ) {% for i in object.getrt %} {{ i }}; {% endfor %} {% endif %} {% endif %}

{% block nodetype-widgets %}
{% with object.next_nodetype as next_nodetype %} {% if object.posteriornodes.all %}
{% trans "Posterior node" %}
{% for items in object.posteriornodes.all %} {{ items.title }}; {% endfor %}
{% endif %} {% endwith %} {% if object.priornodes.all %}
{% trans "Prior node" %}
{% for items in object.priornodes.all %} {{ items.title }}; {% endfor %}
{% endif %} {% endwith %} {% if object.related_published %} {% endif %}
{% endblock %}
{% block nodetype-comments %}
{% trans "Comments" %}
{% with object.comments as comment_list %} {% if comment_list.count %}
    {% for comment in comment_list %} {% endfor %}
{% if not object.comments_are_open %}

{% trans "Comments are closed." %}

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

{% trans "No comments yet." %}

{% else %}

{% trans "Comments are closed." %}

{% endif %} {% endif %} {% endwith %}
{% endblock %} {% block nodetype-pingbacks %}
{% trans "Pingbacks" %}
{% with object.pingbacks as pingback_list %} {% if pingback_list.count %}
    {% for pingback in pingback_list %}
  1. {{ pingback.user_name }} {% trans "on" %} {{ pingback.submit_date|date:"SHORT_DATETIME_FORMAT" }}
    {{ pingback.comment }}
  2. {% endfor %}
{% endif %} {% if object.pingback_enabled %}

{% trans "Pingbacks are open." %}

{% else %}

{% trans "Pingbacks are closed." %}

{% endif %} {% endwith %}
{% endblock %} {% block nodetype-trackbacks %} {% with object.trackbacks as trackback_list %} {% if trackback_list.count or object.pingback_enabled %}
{% trans "Trackbacks" %}
{% if trackback_list.count %}
    {% for trackback in trackback_list %}
  1. {{ trackback.user_name }} {% trans "on" %} {{ trackback.submit_date|date:"SHORT_DATETIME_FORMAT" }}
    {{ trackback.comment }}
  2. {% endfor %}
{% endif %} {% if object.pingback_enabled %}

{% trans "Trackback URL" %}

{% endif %}
{% endif %} {% endwith %} {% endblock %} {% block nodetype-comments-form %} {% if object.comments_are_open %}
{% render_comment_form for object %}
{% endif %} {% endblock %} {% endblock %} {% block admin_tools %} {% if perms.gstudio.change_nodetype %}
  • {% trans "Edit the node type" %}
  • {% endif %} {% endblock %}