X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/69191eddb9e4221d964a7e5b044ff7c5dfe38315..f931a5a3c86e677475ae7f3fc0074b4940bee85c:/wolnelektury/templates/catalogue/book_wide.html

diff --git a/wolnelektury/templates/catalogue/book_wide.html b/wolnelektury/templates/catalogue/book_wide.html
index dfe57b656..9c5c85697 100644
--- a/wolnelektury/templates/catalogue/book_wide.html
+++ b/wolnelektury/templates/catalogue/book_wide.html
@@ -9,17 +9,19 @@
 
 {% 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>&nbsp;</p>
 {% endif %}
 {% endblock %}