X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/075fb07f19c2f20cd3b6818b973e7aebebdacc9f..5b5ccdc9dc573482feaded2eaa8110bc65f27cb7:/wolnelektury/templates/catalogue/player.html diff --git a/wolnelektury/templates/catalogue/player.html b/wolnelektury/templates/catalogue/player.html index 95fcb5e62..d38b53f68 100755 --- a/wolnelektury/templates/catalogue/player.html +++ b/wolnelektury/templates/catalogue/player.html @@ -1,10 +1,8 @@ - - + + {% load i18n compressed %} - {% trans "Wolne Lektury" %} :: @@ -21,7 +19,7 @@ <div class="jp-type-playlist"> <div id="jplayer" class="jp-jplayer" - data-supplied="{% if have_oggs %}ogg,{% endif %}mp3"></div> + data-supplied="{% if have_oggs %}oga,{% endif %}mp3"></div> <div id="jp_container_1" class="jp-audio"> <div class="jp-type-single"> <div class="jp-gui jp-interface"> @@ -77,8 +75,8 @@ <p>{% trans "Download as" %}: - <a href="{% url download_zip_mp3 book.fileid %}">MP3</a>{% if have_oggs %}, - <a href="{% url download_zip_ogg book.fileid %}">Ogg Vorbis</a>{% endif %}. + <a href="{% url download_zip_mp3 book.slug %}">MP3</a>{% if have_oggs %}, + <a href="{% url download_zip_ogg book.slug %}">Ogg Vorbis</a>{% endif %}. </p>