summaryrefslogtreecommitdiff
path: root/design/templates/comments/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/comments/list.html')
-rw-r--r--design/templates/comments/list.html36
1 files changed, 22 insertions, 14 deletions
diff --git a/design/templates/comments/list.html b/design/templates/comments/list.html
index c105279..378145e 100644
--- a/design/templates/comments/list.html
+++ b/design/templates/comments/list.html
@@ -1,14 +1,22 @@
-{% comment %}
-
- Since we support both flat comments, and threadedcomments,
- the 'fluent_comments_list' templatetag loads the proper template.
-
- It either loads:
- - fluent_comments/templatetags/flat_html.html
- - fluent_comments/templatetags/threaded_list.html
-
- Both reuse comments/comment.html eventually.
- To style comments, consider overwriting that template.
-
-{% endcomment %}
-{% load fluent_comments_tags %}{% fluent_comments_list %}
+{% load gravatar_local %}
+{% load markdown%}
+{% load bleach_tags %}
+{% load nofollow %}
+{% load comments %}
+ <div class="comments--wrapper">
+ {% for comment in comment_list %}
+ <div id="comment-{{ comment.id }}" class="comment">
+ <noscript class="datahashloader" data-hash="{%gravatar_hash comment.email %}">
+ <img class="gravatar" src="https://images.luxagraf.net/gravcache/{%gravatar_hash comment.email %}.jpg" 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="when">{{comment.submit_date}}</span>
+ </div>
+
+ <div class="comment--body">
+ {{comment.comment|removetags:"p"|markdown|bleach|nofollow|safe}}
+ </div>
+ </div>
+ {% endfor %}
+ </div>