admin preview,
[prawokultury.git] / migdal / templates / migdal / entry / entry_detail.html
index 637ed89..1f322be 100755 (executable)
@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% load comments %}
+{% load comments i18n %}
 {% load migdal_tags %}
 
 
 
 {% block "body" %}
 
+{% if not entry.published %}
+    <p class="warning">{% trans "This entry hasn't been published yet." %}</p>
+{% endif %}
+
 <div class="entry entry-detail entry-{{ entry.type }}">
 <div class="entry-wrapped">
 
 <div class="body">
 {{ entry.body }}
 </div>
+<div style="clear: both"></div>
 
 {% if entry.get_type.commentable %}
     {% render_comment_list for entry %}
+    <div class="comments">
     {% entry_comment_form entry %}
+    </div>
 {% endif %}
 </div>
 </div>