lots of graphics
[prawokultury.git] / migdal / templates / migdal / entry / entry_detail.html
index 9812a59..f37777e 100755 (executable)
@@ -3,17 +3,30 @@
 {% load migdal_tags %}
 
 
+{% block "main_menu" %}
+    {% if entry.categories %}
+        {% main_menu 'objects' entry.categories.all %}
+    {% else %}
+        {% main_menu 'entry_type' entry.type %}
+    {% endif %}
+{% endblock "main_menu" %}
+
+
 {% block "body" %}
 
-<div class="entry entry-short entry-{{ object.type }}">
+<div class="entry entry-short entry-{{ entry.type }}">
+<div class="entry-wrapped">
 
 {% entry_begin entry %}
+<div class="body">
 {{ entry.body }}
+</div>
 
 {% if entry.get_type.commentable %}
     {% render_comment_list for entry %}
     {% entry_comment_form entry %}
 {% endif %}
 </div>
+</div>
 
 {% endblock %}
\ No newline at end of file