Added lxml to needed requirements

Improved displaying of series title, book of series, comments and custom comments
This commit is contained in:
Ozzie Isaacs
2021-08-27 09:43:32 +02:00
parent d25cfb7499
commit 32e27712f0
7 changed files with 21 additions and 12 deletions
+1 -2
View File
@@ -120,9 +120,8 @@
</p>
</div>
{% endif %}
{% if entry.series|length > 0 %}
<p>{{_("Book %(index)s of %(range)s", index=entry.series_index|formatfloat(2), range=("<a href='" + url_for('web.books_list', data='series', sort_param='stored', book_id=entry.series[0].id) + "'>" + entry.series[0].name + "</a>")|safe) }}</p>
<p>{{_("Book %(index)s of %(range)s", index=entry.series_index | formatfloat(2), range=(url_for('web.books_list', data='series', sort_param='stored', book_id=entry.series[0].id)|escapedlink(entry.series[0].name))|safe)}}</p>
{% endif %}