Anfänglicher Commit: Producion Version Stand: Oktober 2014
This commit is contained in:
15
templates/comments/list.html
Normal file
15
templates/comments/list.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% load i18n django_markdown %}
|
||||
<table id="comments" class="layout">
|
||||
{% for comment in comment_list %}
|
||||
<tr id="c{{ comment.id }}">
|
||||
<td class="avatar">
|
||||
{% if comment.user.get_profile.thumbnail %}<img src="{{comment.user.get_profile.thumbnail.url}}" alt=""/>{% else %}<img src="{{STATIC_URL}}img/unknown_thumbnail.png" alt=""/>{% endif %}
|
||||
</td>
|
||||
<td class="userinfo">
|
||||
<a href="{{ comment.user.get_profile.get_absolute_url }}" class="user">{{comment.user}}</a>
|
||||
<div class="submit_date"><time time="{{comment.submit_date|time:'c'}}">{{comment.submit_date|timesince}}</time></div>
|
||||
</td>
|
||||
<td class="content">{{comment.comment|markdown_safe}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
Reference in New Issue
Block a user