summaryrefslogtreecommitdiff
path: root/objectapp/templates/objectapp/gbobject_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'objectapp/templates/objectapp/gbobject_detail.html')
-rw-r--r--objectapp/templates/objectapp/gbobject_detail.html27
1 files changed, 16 insertions, 11 deletions
diff --git a/objectapp/templates/objectapp/gbobject_detail.html b/objectapp/templates/objectapp/gbobject_detail.html
index b8ce726..283f9c6 100644
--- a/objectapp/templates/objectapp/gbobject_detail.html
+++ b/objectapp/templates/objectapp/gbobject_detail.html
@@ -1,6 +1,5 @@
{% extends "objectapp/base.html" %}
{% load i18n comments objectapp_tags %}
-
{% block title %}{{ object.title }}{% endblock %}
{% block meta-description %}{% if object.excerpt %}{{ object.excerpt|striptags }}{% else %}{{ object.content|striptags|truncatewords:100 }}{% endif %}{% endblock %}
@@ -30,15 +29,12 @@
{% endblock %}
-
-
{% block content %}
{% block gbobject-content %}
{% with object.html_content|safe as object_content %}
{% include "objectapp/_gbobject_detail.html" %}
-
<script type="text/javascript" >
var s = 0
var i
@@ -77,8 +73,6 @@
{% endwith %}
{% endblock %}
-
-
{% block gbobject-widgets %}
<div class="gbobject-widgets span-16 last">
{% with object.next_gbobject as next_gbobject %}
@@ -132,11 +126,22 @@
</div>
</div>
{% endblock %}
-
-
-
-
-
+
+
+
+<p><br/>
+<b>Add Attributes: </b>
+<input type="hidden" id="id_object" value="{{ object.title }}"/>
+{% for i in object.getattributetypes %}
+<a href="{{ get_absolute_url }}/objects/dynamicAttribute/save/{{ i }}/{{ object.title }}/">{{ i }}</a><nbsp>;
+{% endfor %}
+</p>
+<p>
+<b>Add Relations: </b>
+{% for i in object.getrelationtypes %}
+<a href=" {{ get_absolute_url }}/objects/dynamicRelation/displaymem/{{ i }}/{{ object.title }}/">{{ i }}</a><nbsp>;
+{% endfor %}
+</p>
{% block gbobject-comments %}
<div id="comments" class="span-16 last">