X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eb2eb95bfbfe8c777c4192ea434a0e999edf3a51..af43a678694121f8b7c81a52a64d02c1b024fc57:/src/catalogue/templates/catalogue/book_text.html?ds=sidebyside diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html index 158396fe9..78067d747 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -114,7 +114,7 @@ {% block footer %}
{% if book.parent %} - {% for b in book.ancestor.all %} + {% for b in book.ancestors %} {% if forloop.counter > 1 %}
  • {% endif %} @@ -198,9 +198,10 @@ "label": "{{ ref.entity.label }}", "description": "{{ ref.entity.description }}", "wikipedia_link": "{{ ref.entity.wikipedia_link }}" - }{% if not forloop.last %},{% endif %} + }, {% endif %} {% endfor %} + "": null } {% endlocalize %}