fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random fixes
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_wide.html
diff --git
a/wolnelektury/templates/catalogue/book_wide.html
b/wolnelektury/templates/catalogue/book_wide.html
index
c778caa
..
c683fce
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_wide.html
+++ b/
wolnelektury/templates/catalogue/book_wide.html
@@
-20,6
+20,8
@@
</ul>
</div>
</div>
</ul>
</div>
</div>
+{% else %}
+ <p> </p>
{% endif %}
{% endblock %}
{% endif %}
{% endblock %}
@@
-50,6
+52,7
@@
</ul>
</div>
<div class="other-download">
</ul>
</div>
<div class="other-download">
+ {% if related.media.mp3 or related.media.ogg %}
<h2 class="mono">{% trans "Download" %}</h2>
<ul class="plain">
<li>
<h2 class="mono">{% trans "Download" %}</h2>
<ul class="plain">
<li>
@@
-59,10
+62,13
@@
{% if related.media.ogg %}<a href="{% url download_zip_ogg book.slug %}">OGG</a>{% endif %}.
{% endif %}
</li>
{% if related.media.ogg %}<a href="{% url download_zip_ogg book.slug %}">OGG</a>{% endif %}.
{% endif %}
</li>
+ {% comment %}
<li>
<a href="{% url custom_pdf_form %}?slug={{book.slug}}" id="custom-pdf" class="ajaxable">{% trans "Download a custom PDF" %}</a>
</li>
<li>
<a href="{% url custom_pdf_form %}?slug={{book.slug}}" id="custom-pdf" class="ajaxable">{% trans "Download a custom PDF" %}</a>
</li>
+ {% endcomment %}
</ul>
</ul>
+ {% endif %}
</div>
</div>
{% endblock %}
</div>
</div>
{% endblock %}