From 7e02e008009c476c831d7dcda78db9bc22beb42e Mon Sep 17 00:00:00 2001 From: Arun yadav Date: Wed, 9 May 2012 15:15:55 +0530 Subject: Added views ,templates and some version related properties in models.py --- gstudio/templates/gstudio/version_diff.html | 180 ++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 gstudio/templates/gstudio/version_diff.html (limited to 'gstudio/templates/gstudio/version_diff.html') diff --git a/gstudio/templates/gstudio/version_diff.html b/gstudio/templates/gstudio/version_diff.html new file mode 100644 index 0000000..8130574 --- /dev/null +++ b/gstudio/templates/gstudio/version_diff.html @@ -0,0 +1,180 @@ + +{% load i18n comments gstudio_tags %} +{% load gstudio_tags i18n %} +{% get_tags as nodetype_tags %} +{% load adminmedia grp_tags %} + + +{% load gstudio_tags i18n %} +{% get_tags as nodetype_tags %} +{% load adminmedia grp_tags %} + + + + + {% block blockbots %} + + {% endblock %} + {% block stylesheets %} + + {% if LANGUAGE_BIDI %} + + {% endif %} + + + {% endblock %} + {% block extrastyle %}{% endblock %} + {% block javascripts %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% block extrahead %}{% endblock %} + + {% endblock %} + + + + + + + + {% block meta %}{% endblock %} + + + + + + + + {% block link %}{% endblock %} + {% block script %}{% endblock %} Gnowledge Studio - {% block title %}{% endblock %} + + + + + + + + + {% include "gstudio/_header.html" %} + + + + + + +
+ +

{% block content %} + {% block nodetype-content %} +

+ {{ ver_new.title }} + +

+
+ {% with nt1.html_content|safe as object_content %} + Name:{{ ver_new.title }}
+ {% if ver_new.altnames %} + Alternate names: {{ diffs }} +
+ {% endif %} + {% if ver_new.plural %} + Plural Name:{{ ver_new.plural }}
+ {% endif %} + {% if nt1.get_rendered_nbh.authors %}Authors: + {% endif %} + {% for author in nt1.authors.all %} + + + {% if not forloop.last %}, {% endif %} + {% endfor %}
+ {% endwith %} + {% endblock %} + {% endblock %} + +
+ +

{% block content1 %} + {% block nodetype-content1 %} +

+ {{ ver_old.title }} + +

+
+ {% with nt1.html_content|safe as object_content %} + Name:{{ ver_old.title }}
+ {% if ver_old.altnames %} + Alternate names:{{ ver_old.altnames}} +
+ {% endif %} + {% if ver_old.plural %} + Plural Name:{{ ver_old.plural }}
+ {% endif %} + {% if nt1.get_rendered_nbh.authors %}Authors: + {% endif %} + {% for author in nt1.authors.all %} + + + {% if not forloop.last %}, {% endif %} + {% endfor %}
+ {% endwith %} + {% endblock %} + {% endblock %} + +
+ + + + + + + + + + + -- cgit v1.1