[books] Fix resume reading link and page calc
All checks were successful
build & deploy / test (push) Successful in 1m44s
build & deploy / build-and-deploy (push) Successful in 33s

This commit is contained in:
2026-05-19 21:03:42 -04:00
parent af8b1d4f8a
commit 217e2443e2
4 changed files with 63 additions and 34 deletions

View File

@ -35,11 +35,7 @@
<p>{{scrobbles.count}} scrobbles</p>
{% for s in scrobbles %}
{% if forloop.first %}
<p><a href="{{s.logdata.resume_url}}">Resume reading</a></p>
{% endif %}
{% endfor %}
<p><a href="{{object.resume_start_url}}">Resume reading</a></p>
</div>
{% if charts %}
<div class="row">