- <a class="downarrow">{% trans "Download" %}: </a>
- <div class="book-box-formats">
- {% if book.pdf_file %}
- <span><a href="{{ book.pdf_file.url}}">PDF</a></span>
- {% endif %}
- {% custom_pdf_link_li book %}
- {% if book.epub_file %}
- <span><a href="{{ book.epub_file.url}}">EPUB</a></span>
- {% endif %}
- {% if book.mobi_file %}
- <span><a href="{{ book.mobi_file.url}}">MOBI</a></span>
- {% endif %}
- {% if book.fb2_file %}
- <span><a href="{{ book.fb2_file.url}}">FB2</a></span>
- {% endif %}
- {% if book.txt_file %}
- <span><a href="{{ book.txt_file.url}}">TXT</a></span>
- {% endif %}
- {% download_audio book %}
- </div>
+ <a class="downarrow">{% trans "Download" %}:</a>
+ <div class="book-box-formats">
+ {% if book.pdf_file %}
+ <span><a href="{{ book.pdf_file.url}}">PDF</a></span>
+ {% endif %}
+ {% custom_pdf_link_li book %}
+ {% if book.epub_file %}
+ <span><a href="{{ book.epub_file.url}}">EPUB</a></span>
+ {% endif %}
+ {% if book.mobi_file %}
+ <span><a href="{{ book.mobi_file.url}}">MOBI</a></span>
+ {% endif %}
+ {% if book.fb2_file %}
+ <span><a href="{{ book.fb2_file.url}}">FB2</a></span>
+ {% endif %}
+ {% if book.txt_file %}
+ <span><a href="{{ book.txt_file.url}}">TXT</a></span>
+ {% endif %}
+ {% download_audio book %}
+ </div>