X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a938c8b406ce05e3bca4a5a483d473ece9e17b0..88d3c13086c291c02d18ca45f657224f8cf52dff:/src/catalogue/templates/catalogue/player.html diff --git a/src/catalogue/templates/catalogue/player.html b/src/catalogue/templates/catalogue/player.html old mode 100755 new mode 100644 index 91f0fa6a0..7c3e0b9cd --- a/src/catalogue/templates/catalogue/player.html +++ b/src/catalogue/templates/catalogue/player.html @@ -1,84 +1,74 @@ - {% load static from staticfiles %} - {% load i18n pipeline %} - {% load catalogue_tags %} - {% load thumbnail %} - {% load piwik_tags %} -
- - -{% trans "Download as" %} {% download_audio book False %}.
+{% trans "Download as" %} {% download_audio book False %}.
{% if book.has_daisy_file %} -DAISY:
-DAISY:
+{% trans "Audiobooks were prepared as a part of the projects:" %}
-- {% with projects.0.0 as cs %} - {% with projects.0.1 as fb %} - {% if fb %} - {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %} - {% else %} - {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %} - {% endif %} - {% endwith %} - {% endwith %} -
- {% endif %} + + {% include "catalogue/snippets/jplayer.html" %} + {% if projects|length > 1 %} +{% trans "Audiobooks were prepared as a part of the projects:" %}
++ {% with cs=projects.0.0 fb=projects.0.1 %} + {% if fb %} + {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %} + {% else %} + {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %} + {% endif %} + {% endwith %} +
+ {% endif %} - - {% javascript "player" %} + + {% javascript "player" %} - {% tracking_code %} - +