fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
search ui draft
[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="mono author">{{ author }}</div>
15
{{ book.title }}
16
{% endfor %}
17
</a>
18
</div>
19
20