fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lesmianator: use cPickle, change main
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_detail.html
diff --git
a/wolnelektury/templates/catalogue/book_detail.html
b/wolnelektury/templates/catalogue/book_detail.html
index
c03614c
..
fed2d5b
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_detail.html
+++ b/
wolnelektury/templates/catalogue/book_detail.html
@@
-46,8
+46,8
@@
{% if book.pdf_file %}
<a href="{{ book.pdf_file.url }}">{% trans "Download PDF" %}</a>
{% endif %}
{% if book.pdf_file %}
<a href="{{ book.pdf_file.url }}">{% trans "Download PDF" %}</a>
{% endif %}
- {% if book.epub_file %}
- <a href="{{ book.epub_file.url }}">{% trans "Download EPUB" %}</a>
+ {% if book.
root_ancestor.
epub_file %}
+ <a href="{{ book.
root_ancestor.
epub_file.url }}">{% trans "Download EPUB" %}</a>
{% endif %}
{% if book.odt_file %}
<a href="{{ book.odt_file.url }}">{% trans "Download ODT" %}</a>
{% endif %}
{% if book.odt_file %}
<a href="{{ book.odt_file.url }}">{% trans "Download ODT" %}</a>