8deba131bcd6c623b25ac875270a83c66ff7765c
[django-migdal.git] / migdal / templates / migdal / last_comments.html
1 {% load gravatar %}
2 {% load fnp_markup %}
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>