tests, epub, tag counters, l-tags
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index 7b94fac..7963fe6 100644 (file)
@@ -21,7 +21,7 @@
             <div id="description">
                 {{ book.description|safe }}
             </div>
             <div id="description">
                 {{ book.description|safe }}
             </div>
-            <div id="toggle-description"><p>{% trans "Toggle description" %} ▲</p></div>
+            <div id="toggle-description"><p>{% trans "Hide description" %} ▲</p></div>
         {% endif %}
         <div id="formats">
             <p class="change-sets">{% trans "Put a book" %} <span><a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">{% trans "on the shelf!" %}</a></span></p>
         {% endif %}
         <div id="formats">
             <p class="change-sets">{% trans "Put a book" %} <span><a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">{% trans "on the shelf!" %}</a></span></p>
@@ -33,6 +33,9 @@
             {% if book.pdf_file %}
                 <a href="{{ book.pdf_file.url }}">{% trans "Download PDF" %}</a>
             {% endif %}
             {% if book.pdf_file %}
                 <a href="{{ book.pdf_file.url }}">{% trans "Download PDF" %}</a>
             {% endif %}
+            {% if book.epub_file %}
+                <a href="{{ book.epub_file.url }}">{% trans "Download EPUB" %}</a>
+            {% endif %}
             {% if book.odt_file %}
                 <a href="{{ book.odt_file.url }}">{% trans "Download ODT" %}</a>
             {% endif %}
             {% if book.odt_file %}
                 <a href="{{ book.odt_file.url }}">{% trans "Download ODT" %}</a>
             {% endif %}