make custom pdf optional
[wolnelektury.git] / apps / catalogue / templates / catalogue / snippets / custom_pdf_link_li.html
1 {% load i18n %}
2 {% load url from future %}
3 {% if not NO_CUSTOM_PDF %}
4 <li>
5     <a href="{% url 'custom_pdf_form' book.slug %}" id="custom-pdf"
6         class="ajaxable">{% trans "Download a custom PDF" %}</a>
7 </li>
8 {% endif %}