infopages: allow template tags, some cleaning
[wolnelektury.git] / wolnelektury / templates / catalogue / book_short.html
index 8b36718..aced8bf 100644 (file)
@@ -1,7 +1,7 @@
 {% load i18n %}
 <div class="book">
     <div class="change-sets">
-        <a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">{% trans "Put on the shelf!" %}</a>
+        <a href="{% url catalogue.views.book_sets book.urlid %}" class="jqm-trigger">{% trans "Put on the shelf!" %}</a>
     </div>
     {% if book.children.all|length %}
         <div class="book-parent-thumbnail"></div>