X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2856ae6ae36213ca7997366e0c7790e3c855e62f..ab86dfc26dcdfc69688d4498b1b683de85a923de:/apps/catalogue/templates/catalogue/book_detail.html diff --git a/apps/catalogue/templates/catalogue/book_detail.html b/apps/catalogue/templates/catalogue/book_detail.html index f266742c1..454bce150 100644 --- a/apps/catalogue/templates/catalogue/book_detail.html +++ b/apps/catalogue/templates/catalogue/book_detail.html @@ -1,6 +1,5 @@ {% extends "base.html" %} {% load i18n %} -{% load thumbnail %} {% load common_tags catalogue_tags %} {% block titleextra %}{{ book.pretty_title }}{% endblock %} @@ -16,8 +15,20 @@ {% work_list book_children %} - -

{% trans "See also" %}:

-{% related_books book %} +{% spaceless %} +{% if book.other_versions %} +
+

{% trans "Other versions" %}:

+{% for rel in book.other_versions %} + {% book_mini rel %} +{% endfor %} +
+{% endif %} + +
+

{% trans "See also" %}:

+{% related_books book taken=book.other_versions|length %} +
+{% endspaceless %} {% endblock %}