fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lots of graphics
[prawokultury.git]
/
migdal
/
templates
/
migdal
/
entry
/
entry_short.html
diff --git
a/migdal/templates/migdal/entry/entry_short.html
b/migdal/templates/migdal/entry/entry_short.html
index
432f4c4
..
5dbef6f
100755
(executable)
--- a/
migdal/templates/migdal/entry/entry_short.html
+++ b/
migdal/templates/migdal/entry/entry_short.html
@@
-4,16
+4,30
@@
<div class="entry entry-short entry-{{ object.type }}">
<div class="entry entry-short entry-{{ object.type }}">
+<div class="entry-wrapped">
+
{% entry_begin object %}
{% entry_begin object %}
-{% if object.has_body %}
- <a href="{{ object.get_absolute_url }}">{% trans "read more" %}</a>
-{% endif %}
+<div class="more">
{% if object.get_type.commentable %}
{% get_comment_count for object as comment_count %}
{% if object.get_type.commentable %}
{% get_comment_count for object as comment_count %}
-<a href="{{ object.get_absolute_url }}#comment">
+<a
class="comments"
href="{{ object.get_absolute_url }}#comment">
{% blocktrans count comment_count as c %}{{c}} comment{% plural %}{{c}} comments{% endblocktrans %}
</a>
{% endif %}
{% blocktrans count comment_count as c %}{{c}} comment{% plural %}{{c}} comments{% endblocktrans %}
</a>
{% endif %}
-</div>
\ No newline at end of file
+
+{% if object.body.raw %}
+ <a class="read-more" href="{{ object.get_absolute_url }}">{% trans "read more" %}</a>
+{% endif %}
+
+</div>
+
+
+<div class="social">
+</div>
+
+
+<div style="clear: both"></div>
+</div>
+</div>