fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
work-list.html
1
{% load pagination_tags %}
2
{% load book_short from catalogue_tags %}
3
4
{% autopaginate object_list 10 %}
5
{% spaceless %}
6
<ol class='work-list'>
7
{% for item in object_list %}
8
<li class='{{ object_type }}-item'>
9
{% if object_type == 'Book' %}
10
{% book_short item %}
11
{% else %}
12
{{ item.short_html }}
13
{% endif %}
14
</li>
15
{% endfor %}
16
</ol>
17
{% endspaceless %}
18
{% paginate %}