X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/57e98a5807465f9494e5006e16860f16abbf4136..63fb245d8fa7086f950be033c01caa35488b2cc1:/wolnelektury/templates/catalogue/book_wide.html diff --git a/wolnelektury/templates/catalogue/book_wide.html b/wolnelektury/templates/catalogue/book_wide.html index c778caa50..c683fce61 100644 --- a/wolnelektury/templates/catalogue/book_wide.html +++ b/wolnelektury/templates/catalogue/book_wide.html @@ -20,6 +20,8 @@ </ul> </div> </div> +{% else %} + <p> </p> {% endif %} {% endblock %} @@ -50,6 +52,7 @@ </ul> </div> <div class="other-download"> + {% if related.media.mp3 or related.media.ogg %} <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> + {% comment %} <li> <a href="{% url custom_pdf_form %}?slug={{book.slug}}" id="custom-pdf" class="ajaxable">{% trans "Download a custom PDF" %}</a> </li> + {% endcomment %} </ul> + {% endif %} </div> </div> {% endblock %}