summaryrefslogtreecommitdiff
path: root/design/templates/comments/list.html
blob: e8057dc895394084d0e6740edf9574644bc3c675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% load gravatar_local %}
{% load typogrify_tags %}
{% 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="{% if comment.user_email = "sng@luxagraf.net" %}d64f4854965b2b1c3ecafee4b2a66fac{%else%}{%if comment.user_email|has_grav %}{%gravatar_hash comment.user_email %}{%else%}default{%endif%}{%endif%}"> 
                <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>{%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>
		
            <div class="comment--body">
                {{comment.comment|removetags:"p"|markdown|bleach|nofollow|safe|smartypants}}
		    </div>
        </div>
        {% endfor %}
        </div>