audiobooks: no "Part 1 / 1"
authorJan Szejko <j-sz@o2.pl>
Tue, 12 Jan 2016 14:57:34 +0000 (15:57 +0100)
committerJan Szejko <j-sz@o2.pl>
Tue, 12 Jan 2016 14:57:34 +0000 (15:57 +0100)
src/catalogue/templates/catalogue/book_short.html

index 7126095..dea797b 100644 (file)
 <div>
 {% if audiobooks|length > 1 %}
     <a class="play-prev">« {% trans "previous" %}</a>
-{% endif %}
-{% trans "Part" %} <span class="number">1</span> / {{ audiobooks|length }}
-{% if audiobooks|length > 1 %}
+    {% trans "Part" %} <span class="number">1</span> / {{ audiobooks|length }}
     <a class="play-next">{% trans "next" %} »</a>
 {% endif %}
 </div>