+ </li>
+ <li class="book-box-download">
+ <div class="book-box-formats">
+ {% trans "Download an ebook" %}:<br>
+ {% if book.pdf_file %}
+ <a href="{{ book.pdf_url}}">PDF</a>
+ {% endif %}
+ {% if book.epub_file %}
+ <a href="{{ book.epub_url}}">EPUB</a>
+ {% endif %}
+ {% if book.mobi_file %}
+ <a href="{{ book.mobi_url}}">MOBI</a>
+ {% endif %}
+ {% if book.fb2_file %}
+ <a href="{{ book.fb2_url}}">FB2</a>
+ {% endif %}
+ {% if book.txt_file %}
+ <a href="{{ book.txt_url}}">TXT</a>
+ {% endif %}
+ </div>
+ {% if book.has_mp3_file %}
+ <div class="book-box-formats">
+ {% trans "Download audiobook" %}:<br>
+ {% download_audio book %}
+ </div>