X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5e463c73f3f1356eebc8f4607381538d4565ff62..a9925ebffe713307d6bedecd670df1490aa206c8:/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 "Wolne Lektury" %} :: - {{ book.title }} - {{ audiobook }} - - {% stylesheet "all" %} - {% stylesheet "player" %} - - - - - {% if book.cover_thumb %} - Cover - {% endif %} + {% load static from static %} + {% load i18n pipeline %} + {% load catalogue_tags %} + {% load thumbnail %} + {% load piwik_tags %} + + + + {% trans "Wolne Lektury" %} :: + {{ book.title }} - {{ audiobook }} + + {% stylesheet 'main' %} + {% stylesheet "player" %} + {% tracking_code %} + + + {% if book.cover_thumb %} + Cover + {% endif %} -

{% book_title book %}

+

{% book_title book %}

-
-

{% trans "Book's page" %}.

-

{% trans "Download as" %} {% download_audio book False %}.

+
+

{% trans "Book's page" %}.

+

{% trans "Download as" %} {% download_audio book False %}.

{% if book.has_daisy_file %} -

DAISY:

- +

DAISY:

+ {% endif %} -
- -
- -
- - -
-
- - - {% if projects|length > 1 %} -

{% trans "Audiobooks were prepared as a part of the projects:" %}

- - {% else %} -

- {% 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 }} - +