Add series name and index to book cover info

This commit is contained in:
Michael Knepher
2020-05-27 21:57:59 -07:00
parent 5dd08e438c
commit 54cf3652b0
5 changed files with 48 additions and 1 deletions
+9
View File
@@ -76,6 +76,15 @@
{% endif %}
{% endfor %}
</p>
{% if entry.series.__len__() > 0 %}
<p class="series">
<a href="{{url_for('web.books_list', data='series', sort='new', book_id=entry.series[0].id )}}">
{{entry.series[0].name}}
</a>
({{entry.series_index}})
</p>
{% endif %}
{% if entry.ratings.__len__() > 0 %}
<div class="rating">
{% for number in range((entry.ratings[0].rating/2)|int(2)) %}