From 59b9260b28d330f89cb493a7c0ebfbf177be9e8c Mon Sep 17 00:00:00 2001 From: Yaroslsav-95 Date: Mon, 8 Oct 2018 12:21:24 +0300 Subject: minor fixes --- weblog/templates/weblog/post.html | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'weblog/templates') diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html index 7a7a09a..ec999c7 100755 --- a/weblog/templates/weblog/post.html +++ b/weblog/templates/weblog/post.html @@ -60,24 +60,22 @@ {% endif %} {% endif %} -
- {% for comment in comments %} -
-
-

{% if comment.author %}{{ comment.author.get_username }}{% else %}{% trans 'Anonymous' context 'Unauthenticated comment poster' %}{% endif %}

-

{{ comment.content }}

-

{{ comment.publish_date }}

-
+ {% for comment in comments %} +
+
+

{% if comment.author %}{{ comment.author.get_username }}{% else %}{% trans 'Anonymous' context 'Unauthenticated comment poster' %}{% endif %}

+

{{ comment.content }}

+

{{ comment.publish_date }}

- {% endfor %} - {% else %} -
-
-

{% trans 'Nobody has left a comment on this post yet' %}

- {% endif %} + {% endfor %} + {% else %} +
+
+

{% trans 'Nobody has left a comment on this post yet' %}

{% endif %} + {% endif %}