fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another cover fix.
[wolnelektury.git]
/
apps
/
catalogue
/
templates
/
catalogue
/
book_mini_box.html
diff --git
a/apps/catalogue/templates/catalogue/book_mini_box.html
b/apps/catalogue/templates/catalogue/book_mini_box.html
index
74202fc
..
49257b1
100755
(executable)
--- a/
apps/catalogue/templates/catalogue/book_mini_box.html
+++ b/
apps/catalogue/templates/catalogue/book_mini_box.html
@@
-1,14
+1,23
@@
<div class="book-mini-box">
<div class="book-mini-box">
+ <div class="book-mini-box-inner">
+ {% if with_link %}
<a href="{{ book.get_absolute_url }}">
<a href="{{ book.get_absolute_url }}">
- {% if book.cover %}
+ {% endif %}
+ {% if book.cover_thumb %}
<img src="{{ book.cover_thumb.url }}"
alt="{{ author_str }} – {{ book.title }}" class="cover" />
{% endif %}
<img src="{{ book.cover_thumb.url }}"
alt="{{ author_str }} – {{ book.title }}" class="cover" />
{% endif %}
+ {% if show_lang %}
+ <span class="language" title="{{ book.language_name }}">{{ book.language_code }}</span>
+ {% endif %}
<div class="desc">
<span class="mono author">{{ author_str }}</span>
<span class="title">{{ book.title }}</span>
</div>
<div class="desc">
<span class="mono author">{{ author_str }}</span>
<span class="title">{{ book.title }}</span>
</div>
+ {% if with_link %}
</a>
</a>
+ {% endif %}
+ </div>
</div>
</div>