X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5e463c73f3f1356eebc8f4607381538d4565ff62..22819866796cede4811fbfa04e626143801c3427:/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 8e8c9bb02..7c3e0b9cd --- a/src/catalogue/templates/catalogue/player.html +++ b/src/catalogue/templates/catalogue/player.html @@ -1,136 +1,74 @@ - {% load static from staticfiles %} - {% load i18n pipeline %} - {% load catalogue_tags %} - {% load thumbnail %} -
- - -{% 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 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 %} -{% 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 %} - - - - {% javascript "player" %} + + {% javascript "player" %} - {{ piwik_tag|safe }} - +