- + {{ post.date }} - {{ post.author.username }} @@ -33,7 +33,7 @@ - + {% if post.comment_set.count > 0 %}{{ post.comment_set.count }} comment{% if post.comment_set.count > 1 %}s{% endif %}{% else %}write comment{% endif %} @@ -57,7 +57,7 @@ - + {% if post.comment_set.count > 0 %}{{ post.comment_set.count }} comment{% if post.comment_set.count > 1 %}s{% endif %}{% else %}write comment{% endif %} @@ -77,7 +77,7 @@ - + {% if post.comment_set.count > 0 %}{{ post.comment_set.count }} comment{% if post.comment_set.count > 1 %}s{% endif %}{% else %}write comment{% endif %} diff --git a/news/templates/news/post.html b/news/templates/news/post.html index 8acb9f6..5002146 100644 --- a/news/templates/news/post.html +++ b/news/templates/news/post.html @@ -18,7 +18,7 @@ {% endif %} - + {{ post.date }} - {{ post.author.username }} @@ -62,7 +62,7 @@ {% for comment in comments %} {% for n in comment.level %}{% endfor %} - {{ comment.author.username }} - {{ comment.date }} - score: {{ comment.score }} + {{ comment.author.username }} - {{ comment.date }} - score: {{ comment.score }} {{ comment.body }}