X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4b6fc6dc545a10955094bfaa9448ba070cfb33bf..6e295f0db470467f3a3bf9ff46a4ed5e8f052229:/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>