fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #2036, fix #2078: more audiobook links
[wolnelektury.git]
/
apps
/
catalogue
/
templates
/
catalogue
/
player.html
diff --git
a/apps/catalogue/templates/catalogue/player.html
b/apps/catalogue/templates/catalogue/player.html
index
7ecf3e6
..
f32025b
100755
(executable)
--- a/
apps/catalogue/templates/catalogue/player.html
+++ b/
apps/catalogue/templates/catalogue/player.html
@@
-1,5
+1,6
@@
<!DOCTYPE html>
<html>
<!DOCTYPE html>
<html>
+ {% load static from staticfiles %}
{% load i18n compressed %}
{% load catalogue_tags %}
{% load thumbnail %}
{% load i18n compressed %}
{% load catalogue_tags %}
{% load thumbnail %}
@@
-31,10
+32,7
@@
<div class="player-info normal-text">
<p><a target="_blank" href="{{ book.get_absolute_url }}">{% trans "Book's page" %}</a>.</p>
<div class="player-info normal-text">
<p><a target="_blank" href="{{ book.get_absolute_url }}">{% trans "Book's page" %}</a>.</p>
- <p>{% trans "Download as" %}
- <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>
+ <p>{% trans "Download as" %} {% download_audio book False %}.</p>
{% if book.has_daisy_file %}
<p>DAISY:</p>
{% if book.has_daisy_file %}
<p>DAISY:</p>