Remove duplicated editions request from book.html

This commit is contained in:
0x29a 2023-01-30 06:28:35 +01:00
parent f2d7efe2ba
commit 5e87504b22

View file

@ -215,10 +215,10 @@
{% endif %} {% endif %}
{% with work=book.parent_work %} {% with work=book.parent_work editions_count=book.parent_work.editions.count %}
<p> <p>
<a href="{{ work.local_path }}/editions" id="tour-other-editions-link"> <a href="{{ work.local_path }}/editions" id="tour-other-editions-link">
{% blocktrans trimmed count counter=work.editions.count with count=work.editions.count|intcomma %} {% blocktrans trimmed count counter=editions_count with count=editions_count|intcomma %}
{{ count }} edition {{ count }} edition
{% plural %} {% plural %}
{{ count }} editions {{ count }} editions