From 94535d4adc3a4960795d22e3b229a8375de10b74 Mon Sep 17 00:00:00 2001 From: supriya Date: Wed, 26 Sep 2012 15:49:52 +0530 Subject: all modules integrated --- .../templates/objectapp/_gbobject_detail.html | 111 +++++++++++++++++++-- 1 file changed, 100 insertions(+), 11 deletions(-) (limited to 'objectapp/templates/objectapp/_gbobject_detail.html') diff --git a/objectapp/templates/objectapp/_gbobject_detail.html b/objectapp/templates/objectapp/_gbobject_detail.html index a070716..89d8650 100644 --- a/objectapp/templates/objectapp/_gbobject_detail.html +++ b/objectapp/templates/objectapp/_gbobject_detail.html @@ -1,15 +1,104 @@ {% load tagging_tags comments i18n %} +{% load i18n gstudio_tags %} +
-

- - {{ object.title }} - [edit] +

+ {% ifequal object.ref.get_nbh.member_of|slugify 'nodetype-ot-document' %} + {{object.title}}  is a Document + + {% else %} + {% ifequal object.ref.get_nbh.member_of|slugify 'nodetype-ot-image' %} + {{object.title}}  is an Image + + {% else %} + {% ifequal object.ref.get_nbh.member_of|slugify 'nodetype-ot-video' %} + {{object.title}}  is a Video + {% else %} + {% ifequal object.ref.get_nbh.member_of|slugify 'nodetype-ot-topic' %} + {{object.title}}  is a Topic of a Loom-thread + {% else %} + {% ifequal object.ref.get_nbh.member_of|slugify 'nodetype-ot-section' %} + {{object.title}}  is a Section of a wiki-page + {% else %} + {% ifequal object.ref.get_nbh.member_of|slugify 'nodetype-ot-reply' %} + + {% for eachobject in object.ref.prior_nodes.all %} + {% if eachobject.ref.prior_nodes.all %} + {% for eachobject1 in eachobject.ref.prior_nodes.all %} + {% if eachobject1.ref.prior_nodes.all %} + {% for eachobject2 in eachobject1.ref.prior_nodes.all %} + {{object.title}}  is a Reply + {% endfor %} + {% else %} + {{object.title}}  is a Reply + {% endif %} + {% endfor %} + {% else %} + {{object.title}}  is a Reply + {% endif %} + + {% endfor %} + {% else %} + {% ifequal object.ref.get_nbh.member_of|slugify 'nodetype-ot-subsection' %} + {% for eachobject in object.ref.prior_nodes.all %} + {{object.title}}  is a Subsection of a Section wiki-page + {% endfor %} + {% else %} + {{ object.title }} + + + + + +{% endifequal %} +{% endifequal %} +{% endifequal %} + {% endifequal %} + {% endifequal %} + {% endifequal %} + {% endifequal %} + + +

- + Versions:  {% for sid in object.ref.get_ssid %} @@ -19,9 +108,9 @@

- {% if object.authors.count %} + {% if object.ref.authors.count %} {% trans "Written by" %} - {% for author in object.authors.all %} + {% for author in object.ref.authors.all %} @@ -67,8 +156,8 @@ Content: - - + @@ -80,8 +169,8 @@ {% else %} - Content: - + Content: -- cgit v1.1