Mercurial > public > sg101
comparison gpp/templates/comments/comment.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 7b6540b185d9 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% load avatar_tags %} | |
2 {% load markup %} | |
3 {% load smiley_tags %} | |
4 <li> | |
5 <div class="comment"> | |
6 <div class="comment-avatar"> | |
7 <a href="{% url bio-view_profile username=comment.user.username%}">{% avatar comment.user %}</a> | |
8 </div> | |
9 {% if comment.is_removed %} | |
10 <div class="comment-text-removed"><p>This comment has been removed.</p></div> | |
11 {% else %} | |
12 <div class="comment-text">{{ comment.html|safe }}</div> | |
13 {% endif %} | |
14 <div class="comment-details"> | |
15 <a href="{% url bio-view_profile username=comment.user.username%}" | |
16 title="View profile for {{ comment.user.username }}">{{ comment.user.username }}</a> | | |
17 {{ comment.creation_date|date:"d-M-Y H:i:s" }} | |
18 {% if not comment.is_removed %} | |
19 | <a href="#" class="comment-flag" id="fc-{{ comment.id }}" | |
20 title="Flag this comment as spam, abuse, or a violation of site rules."> | |
21 <img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" /></a> | |
22 {% endif %} | |
23 </div> | |
24 </div> | |
25 </li> |