fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor visuals.
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
book_text.html
diff --git
a/src/catalogue/templates/catalogue/book_text.html
b/src/catalogue/templates/catalogue/book_text.html
index
27601d8
..
17c4896
100644
(file)
--- a/
src/catalogue/templates/catalogue/book_text.html
+++ b/
src/catalogue/templates/catalogue/book_text.html
@@
-21,6
+21,7
@@
{% block menu %}
<li>
<a href="{{ book.get_absolute_url }}" id="menu-book" data-box="book-short">
{% block menu %}
<li>
<a href="{{ book.get_absolute_url }}" id="menu-book" data-box="book-short">
+ <span class="label">{% trans "Click to download" %}:</span>
<img src="{% if book.cover_thumb %}{% thumbnail book.cover_thumb '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}{% endif %}"
width="120" height="166"
alt="{{ book.pretty_title }}"
<img src="{% if book.cover_thumb %}{% thumbnail book.cover_thumb '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}{% endif %}"
width="120" height="166"
alt="{{ book.pretty_title }}"
@@
-182,7
+183,7
@@
{% localize off %}
<script type="application/json" id="interesting-references">
{
{% localize off %}
<script type="application/json" id="interesting-references">
{
- {% for ref in book.reference
_set.all
%}
+ {% for ref in book.reference
s
%}
{% if ref.entity.is_interesting %}
"{{ ref.entity.uri }}": {
{% if ref.entity.lat and ref.entity.lon %}
{% if ref.entity.is_interesting %}
"{{ ref.entity.uri }}": {
{% if ref.entity.lat and ref.entity.lon %}