fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move some imports
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_mini_box.html
diff --git
a/wolnelektury/templates/catalogue/book_mini_box.html
b/wolnelektury/templates/catalogue/book_mini_box.html
index
6728be8
..
b7d78d7
100755
(executable)
--- a/
wolnelektury/templates/catalogue/book_mini_box.html
+++ b/
wolnelektury/templates/catalogue/book_mini_box.html
@@
-1,4
+1,3
@@
-{% load i18n %}
{% load thumbnail %}
<div class="book-mini-box">
<a href="{{ book.get_absolute_url }}">
{% load thumbnail %}
<div class="book-mini-box">
<a href="{{ book.get_absolute_url }}">
@@
-9,12
+8,16
@@
{% empty %}
{{ book.cover.url }}
{% endthumbnail %}
{% empty %}
{{ book.cover.url }}
{% endthumbnail %}
- " alt="
{% trans "Book cover" %}
" />
+ " alt="
Cover
" />
{% endif %}
{% endif %}
- {% for author in authors %}
- <div class="mono author">{{ author }}</div>
- {{ book.title }}
- {% endfor %}
+ <div class="desc">
+ <span class="mono author">
+ {% for name, url in related.tags.author %}
+ {{ name }}{% if not forloop.last %}, {% endif %}
+ {% endfor %}
+ </span>
+ <span class="title">{{ book.title }}</span>
+ </div>
</a>
</div>
</a>
</div>