X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d99d71844b7b97800dcab7cbb81c3a4185acbb48..4b8b38831554745dd2de866c71f526bfbc19c7e9:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index f3a7b53ba..54548007e 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -4,6 +4,8 @@ {% block title %}{{ book.title }} {% trans "on WolneLektury.pl" %}{% endblock %} +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} + {% block bodyid %}book-detail{% endblock %} {% block body %} @@ -61,9 +63,9 @@ <p class="header"> <span class="desc">{% trans "Audiobooks" %}:</span> <span class="audiotabs"> - {% if book.has_mp3_file %}<span class="active">MP3</span>{% endif %} - {% if book.has_ogg_file %}<span>OGG</span>{% endif %} - {% if book.has_daisy_file %}<span>DAISY</span>{% endif %} + {% if book.has_mp3_file %}<span class="active" data-format="mp3">MP3</span>{% endif %} + {% if book.has_ogg_file %}<span data-format="ogg">Ogg Vorbis</span>{% endif %} + {% if book.has_daisy_file %}<span data-format="daisy">DAISY</span>{% endif %} </span> </p> <div class="audiobooks"> @@ -152,7 +154,6 @@ </ul> <h2>{% trans "Other resources" %}</h2> <ul> - <li><a href="{{ extra_info.about }}">{% trans "Book on project's wiki" %}</a></li> {% if extra_info.source_url %} <li><a href="{{ extra_info.source_url }}">{% trans "Source of the book" %}</a></li> {% endif %} @@ -164,6 +165,7 @@ {% endif %} </ul> <p><a href="{{ book.xml_file.url }}">{% trans "View XML source" %}</a></p> + <p><a href="{% url poem_from_book book.slug %}">Miksuj ten utwór</a></p> </div> <div id="themes-list"> <h2>{% trans "Work's themes " %}</h2>