X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/47f8090f9e8c6e91ae95578ca43664b6b18fe795..8236368dcf8d49214946e291300e29622fd26aaf:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index e4afcb787..7963fe6a9 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -2,14 +2,14 @@ {% load i18n %} {% load catalogue_tags pagination_tags %} -{% block title %}{{ book.title }} w WolneLektury.pl{% endblock %} +{% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} {% block bodyid %}book-detail{% endblock %} {% block body %} <h1>{{ book.title }}, {{ categories.author|join:", " }}</h1> <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form"> - <p>{{ form.q }} <input type="submit" value="{% trans "Search" %}" /> <strong>{% trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to homepage" %}</a></p> + <p>{{ form.q }} <input type="submit" value="{% trans "Search" %}" /> <strong>{% trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to main page" %}</a></p> </form> <div id="books-list"> @@ -21,7 +21,7 @@ <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> @@ -33,6 +33,9 @@ {% 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 %} @@ -106,7 +109,7 @@ <h2>{% trans "Other resources" %}</h2> <ul> <li><a href="{{ extra_info.about }}">{% trans "Book on project's wiki" %}</a></li> - <li><a href="{{ extra_info.source_url }}">{% trans "Book in CBN Polona" %}</a></li> + <li><a href="{{ extra_info.source_url }}">{% trans "Source of the book" %}</a></li> {% if book.gazeta_link %} <li><a href="{{ book.gazeta_link }}">{% trans "Book description on Lektury.Gazeta.pl" %}</a></li> {% endif %}