fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
oops. missing import.
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_mini_box.html
1
{% load i18n %}
2
{% load thumbnail %}
3
<div class="book-mini-box">
4
<a href="{{ book.get_absolute_url }}">
5
{% if book.cover %}
6
<img src="
7
{% thumbnail book.cover "216x288" as thumb %}
8
{{ thumb.url }}
9
{% empty %}
10
{{ book.cover.url }}
11
{% endthumbnail %}
12
" alt="{% trans "Book cover" %}" />
13
{% endif %}
14
{% for author in authors %}
15
<div class="mono author">{{ author }}</div>
16
{{ book.title }}
17
{% endfor %}
18
</a>
19
</div>
20
21