X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dfd584e3b136d770bf56569030d10712a8722569..82c3054bcdeb000aa9782da80d644070797b5cbe:/apps/catalogue/templates/catalogue/book_short.html diff --git a/apps/catalogue/templates/catalogue/book_short.html b/apps/catalogue/templates/catalogue/book_short.html index 58859af38..b069cb585 100644 --- a/apps/catalogue/templates/catalogue/book_short.html +++ b/apps/catalogue/templates/catalogue/book_short.html @@ -1,5 +1,7 @@ +{% spaceless %} {% load i18n %} -{% load catalogue_tags social_tags %} +{% load catalogue_tags ssify %} +{% load likes_book book_shelf_tags from social_tags %}
@@ -10,15 +12,14 @@
-
+{% likes_book book.pk as likes %} +
- {% csrf_token %} + {% ssi_csrf_token %}
@@ -33,17 +34,14 @@ {{ parent.title }}{% endfor %}
- {% if main_link %}{% endif %} - {{ book.title }} - {% if main_link %}{% endif %} + {% if main_link %}{% endif %}{{ book.title }}{% if main_link %}{% endif %}
{% if book.cover_thumb %} {% if main_link %}{% endif %} - Cover + Cover {% if main_link %}{% endif %} {% endif %} {% block cover-area-extra %}{% endblock %} @@ -91,7 +89,7 @@ {% endspaceless %}
- {% shelf_tags book %} + {% book_shelf_tags book.pk %}
  • @@ -134,3 +132,4 @@
+{% endspaceless %} \ No newline at end of file