dirty, ugly but workable
[prawokultury.git] / migdal / templates / migdal / entry / entry_short.html
1 {% load i18n %}
2 {% load comments %}
3 {% load migdal_tags %}
4
5
6 <div class="entry entry-short entry-{{ object.type }}">
7 {% entry_begin object %}
8
9 {% if object.has_body %}
10     <a href="{{ object.get_absolute_url }}">{% trans "read more" %}</a>
11 {% endif %}
12
13 {% if object.get_type.commentable %}
14 {% get_comment_count for object as comment_count %}
15 <a href="{{ object.get_absolute_url }}#comment">
16 {% blocktrans count comment_count as c %}{{c}} comment{% plural %}{{c}} comments{% endblocktrans %}
17 </a>
18 {% endif %}
19 </div>