X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/530238f609ba71ea112307ea66f0bc486ae11e33..cb3eefff46f3ae0b331f7babbd111a3735e22652:/src/documents/templates/documents/book_stats.html diff --git a/src/documents/templates/documents/book_stats.html b/src/documents/templates/documents/book_stats.html index 084627f0..793eaa2a 100644 --- a/src/documents/templates/documents/book_stats.html +++ b/src/documents/templates/documents/book_stats.html @@ -1,19 +1,19 @@ {{ book.book_info.title|default:"???" }} - {{ stats.self.chars|default_if_none:"?" }} - {{ stats.self.words|default_if_none:"?" }} {{ stats.self.chars_with_fn|default_if_none:"?" }} + {{ stats.self.chars|default_if_none:"?" }} {{ stats.self.words_with_fn|default_if_none:"?" }} + {{ stats.self.words|default_if_none:"?" }} {% if stats.parts %} {% for part, partstats in stats.parts %} {% include 'documents/book_stats.html' with book=part stats=partstats depth=depth|add:1 %} {% endfor %} - Σ - {{ stats.total.chars }} - {{ stats.total.words }} + Σ {{ stats.total.chars_with_fn }} + {{ stats.total.chars }} {{ stats.total.words_with_fn }} + {{ stats.total.words }} {% endif %}