fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make this templates a package, arr!
[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
<img src="
6
{% thumbnail book.cover "216x288" as thumb %}
7
{{ thumb.url }}
8
{% empty %}
9
{{ book.cover.url }}
10
{% endthumbnail %}
11
" alt="{% trans "Book cover" %}" />
12
{% for author in authors %}
13
<div class="mono author">{{ author }}</div>
14
{{ book.title }}
15
{% endfor %}
16
</a>
17
</div>
18
19