ignore comments in xml when indexing; make-xml-zip script
[wolnelektury.git] / wolnelektury / templates / catalogue / book_short.html
index 5a9b17d..7f26237 100644 (file)
@@ -51,7 +51,7 @@
     <ul class="book-box-tools">
         <li class="book-box-read">
         {% if book.html_file %}
-            <a href="{% url book_text book.urlid %}" class="mono downarrow">{% trans "Read online" %}</a>
+            <a href="{% url book_text book.slug %}" class="mono downarrow">{% trans "Read online" %}</a>
         {% endif %}
         </li>
         <li class="book-box-download">
@@ -73,7 +73,7 @@
         </li>
         <li class="book-box-audiobook">
         {% if book.has_mp3_file %}
-            <a href="" class="mono downarrow">{% trans "Audiobook" %}</a>
+            <a href="{% url book_player book.slug %}" class="open-player mono downarrow">{% trans "Listen" %}</a>
         {% endif %}
         </li>
     </ul>