summaryrefslogtreecommitdiff
path: root/design/templates/comments/list.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-01-13 03:08:15 +0000
committerluxagraf <sng@luxagraf.net>2015-01-13 03:08:15 +0000
commit6eb3a9c2ab19b44d330c583d35cde85e965f899d (patch)
tree206736c2256673949d9e53d9b6381322a1fc615a /design/templates/comments/list.html
parent48d18d26354708d33d173fb09cf326f799ec1d42 (diff)
fixed spacing in template and hid link when commenter doesn't provide URL
Diffstat (limited to 'design/templates/comments/list.html')
-rw-r--r--design/templates/comments/list.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<img class="gravatar" {% if comment.user_email = "sng@luxagraf.net" %}src="https://images.luxagraf.net/gravcache/d64f4854965b2b1c3ecafee4b2a66fac.jpg" {%else%} {%if comment.user_email|has_grav %} src="https://images.luxagraf.net/gravcache/{%gravatar_hash comment.email %}.jpg"{%else%}src="https://images.luxagraf.net/gravcache/default.jpg"{%endif%}{%endif%} alt="gravatar icon for {{comment.name}}" />
</noscript>
<div class="comment--head">
- <span class="who"><b><a href="{{comment.url}}" rel="nofollow" target="_blank">{{comment.name}}</a></b></span>
+ <span class="who"><b>{%if comment.url %}<a href="{{comment.url}}" rel="nofollow" target="_blank">{{comment.name}}</a>{% else %}{{comment.name}}{%endif%}</b></span>
<span class="when">{{comment.submit_date}}</span>
</div>