{% block book-box-extra-info %}
{% if themes %}
- <div id="themes-list-wrapper">
- <p><a class="mono" id="themes-list-toggle"
- href="#">{% trans "motifs and themes" %}</a></p>
- <div id="themes-list">
+ <div class="hidden-box-wrapper" id="theme-list-wrapper">
+ <p><a class="mono hidden-box-trigger theme-list-link"
+ href="#">{% trans "Motifs and themes" %}</a></p>
+ <div class="hidden-box">
<ul>
{% for theme in themes %}
- <li><a href="{% url book_fragments book.urlid theme.slug %}">{{ theme }} ({{ theme.count }})</a></li>
+ <li><a href="{% url book_fragments book.slug theme.slug %}">{{ theme }} ({{ theme.count }})</a></li>
{% endfor %}
</ul>
</div>
</div>
+{% else %}
+ <p> </p>
{% endif %}
{% endblock %}
</ul>
</div>
<div class="other-download">
+ {% if related.media.mp3 or related.media.ogg %}
<h2 class="mono">{% trans "Download" %}</h2>
<ul class="plain">
<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>
+ {% endcomment %}
</ul>
+ {% endif %}
</div>
</div>
{% endblock %}