X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5fa4673581da8c9ebe6ff327c4520989a6675c8c..2dd4071b8858c9727ee3e2c09b73b1eadef6e31e:/src/documents/templates/documents/book_detail.html diff --git a/src/documents/templates/documents/book_detail.html b/src/documents/templates/documents/book_detail.html index a2dea020..08d8c36f 100644 --- a/src/documents/templates/documents/book_detail.html +++ b/src/documents/templates/documents/book_detail.html @@ -200,7 +200,7 @@ - {% if doc %} + {% if stats %}

{% trans "Statistics" %}

@@ -221,9 +221,7 @@ - {% with stats=doc.get_statistics %} - {% include 'documents/book_stats.html' with book=doc stats=stats depth=0 %} - {% endwith %} + {% include 'documents/book_stats.html' with book=doc stats=stats depth=0 %}