Updated and fixes.
[wolnelektury.git] / src / catalogue / templates / catalogue / book_short.html
index cc27443..6f88cf0 100644 (file)
           </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 %}
                 <a href="{{ book.txt_url}}">TXT</a>
               {% endif %}
             </div>
-            <div class="book-box-formats">
-              {% download_audio book %}
-            </div>
+            {% if book.has_mp3_file %}
+              <div class="book-box-formats">
+                {% trans "Download audiobook" %}:<br>
+                {% download_audio book %}
+              </div>
+            {% endif %}
             <div class="book-box-formats">
                 {% custom_pdf_link_li book %}
             </div>
         {% block preview-info %}
           <p class="book-box-tools book-box-tools-warn">
             {% trans "For now this work is only available for our subscribers." %}
-           <a href="/towarzystwo/">Dołącz do Towarzystwa Przyjaciół Wolnych Lektur</a>
+           <a href="{% url 'club_join' %}">Wspieraj Wolne Lektury</a>
          </p>
           <div>{% content_warning book %}</div>
         {% endblock %}