initial commit
[django-migdal.git] / migdal / templates / migdal / entry / entry_short.html
1 {% load i18n %}
2 {% load comments %}
3 {% load migdal_tags fnp_share %}
4
5
6 <div class="entry entry-short entry-{{ object.type }}">
7 <div class="entry-wrapped">
8
9 {% entry_begin object %}
10
11 <div style="clear: both;"></div>
12
13 <div class="toolbar">
14 <div class="more">
15
16 {% if object.get_type.commentable %}
17 {% get_comment_count for object as comment_count %}
18 <a class="comments" href="{{ object.get_absolute_url }}#comment">
19 {% blocktrans count comment_count as c %}{{c}} comment{% plural %}{{c}} comments{% endblocktrans %}
20 </a>
21 {% endif %}
22
23 {% if object.body.raw %}
24     <a class="read-more" href="{{ object.get_absolute_url }}">{% trans "read more" %}</a>
25 {% endif %}
26
27 </div>
28
29 <div class="social">
30     {% share object.get_absolute_url object.title %}
31 </div>
32 </div>
33
34
35
36 <div style="clear: both"></div>
37 </div>
38 </div>