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
/
book_mini_box.html
1
{% load thumbnail %}
2
<div class="book-mini-box">
3
<a href="{{ book.get_absolute_url }}">
4
{% if book.cover %}
5
<img src="
6
{% thumbnail book.cover "216x288" as thumb %}
7
{{ thumb.url }}
8
{% empty %}
9
{{ book.cover.url }}
10
{% endthumbnail %}
11
" alt="Cover" />
12
{% endif %}
13
{% for author in authors %}
14
<div class="desc">
15
<span class="mono author">{{ author }}</span>
16
<span class="title">{{ book.title }}</span>
17
</div>
18
{% endfor %}
19
</a>
20
</div>
21
22