when published date is NaN, set to 0
[wolnelektury.git] / wolnelektury / templates / catalogue / book_wide.html
index dfe57b6..c778caa 100644 (file)
@@ -9,13 +9,13 @@
 
 {% block book-box-extra-info %}
 {% if themes %}
 
 {% 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 %}
             <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>
             {% endfor %}
             </ul>
         </div>