Use readthroughs only to determine books read this year

This commit is contained in:
Mouse Reeve
2021-12-27 14:44:46 -08:00
parent 66d5f16f82
commit a064333a96
2 changed files with 10 additions and 41 deletions

View File

@ -1,6 +1,7 @@
{% extends 'layout.html' %}
{% load i18n %}
{% load static %}
{% load humanize %}
{% block title %}{% blocktrans %}{{ year }} in the books{% endblocktrans %}{% endblock %}
@ -111,7 +112,7 @@
<p class="subtitle is-5">{% trans "Thats great!" %}</p>
<p class="title is-4 is-serif">
{% blocktrans %}That makes an average of {{ pages_average }} pages per book.{% endblocktrans %}
{% blocktrans with pages=pages_average|intcomma %}That makes an average of {{ pages }} pages per book.{% endblocktrans %}
</p>
{% if no_page_number %}