f26cfeaec1f15c8abe4aaa4186c1761ca4e98683
[prawokultury.git] / migdal / templates / migdal / last_comments.html
1 {% load gravatar %}
2 {% load markup_tags %}
3 <ul id="latest-comments">
4   {% for comment in object_list %}
5     <li>
6     <a href="{{ comment.get_absolute_url }}">
7         <div class="title">{{ comment.content_object.title }}</div>
8         <div class="author">{{ comment.name }}</div>
9         <div class="body">{{ comment.comment|textile_restricted_pl|striptags|truncatewords:8 }}</div>
10     </a>
11     </li>
12   {% endfor %}
13 </ul>