From 6eb3a9c2ab19b44d330c583d35cde85e965f899d Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 13 Jan 2015 03:08:15 +0000 Subject: fixed spacing in template and hid link when commenter doesn't provide URL --- design/templates/comments/list.html | 2 +- design/templates/details/entry.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'design') diff --git a/design/templates/comments/list.html b/design/templates/comments/list.html index f6eab48..e8057dc 100644 --- a/design/templates/comments/list.html +++ b/design/templates/comments/list.html @@ -11,7 +11,7 @@ gravatar icon for {{comment.name}}
- {{comment.name}} + {%if comment.url %}{{comment.name}}{% else %}{{comment.name}}{%endif%} {{comment.submit_date}}
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index 0018928..6beb37a 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -54,7 +54,7 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en {% get_comment_count for object as comment_count %}. -{%if comment_count > 0%} +{%if comment_count > 0 %}

{{comment_count}} Comment{{ comment_count|pluralize }}

{% render_comment_list for object %} {%endif%} -- cgit v1.2.3