3 {% load static from static %}
4 {% load i18n pipeline %}
5 {% load catalogue_tags %}
9 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
10 <meta name="description"
11 content="{{ book.title }} - darmowy audiobook na wolnej licencji" />
12 <title>{% trans "Wolne Lektury" %} ::
13 {{ book.title }} - {{ audiobook }}</title>
14 <link rel="icon" href="{% static "img/favicon.png" %}" type="image/png" />
15 {% stylesheet 'main' %}
16 {% stylesheet "player" %}
19 <body id="{% block bodyid %}player{% endblock %}">
20 {% if book.cover_thumb %}
21 <img src="{% thumbnail book.cover_thumb "101x140" as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}"
22 alt="Cover" style="float: left; margin: .5em 1em 1em 1em;" />
26 <h1>{% book_title book %}</h1>
28 <div class="player-info normal-text">
29 <p><a target="_blank" href="{{ book.get_absolute_url }}">{% trans "Book's page" %}</a>.</p>
30 <p>{% trans "Download as" %} {% download_audio book False %}.</p>
32 {% if book.has_daisy_file %}
34 <ul class="daisy-list">
35 {% for media in book.get_daisy %}
36 <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
42 <div style="clear: both"></div>
43 {% include "catalogue/snippets/jplayer.html" %}
45 {% if projects|length > 1 %}
46 <p>{% trans "Audiobooks were prepared as a part of the projects:" %}</p>
48 {% for cs, fb in projects %}
51 {% blocktrans %}{{ cs }}, funded by {{ fb }}{% endblocktrans %}
60 {% with cs=projects.0.0 fb=projects.0.1 %}
62 {% blocktrans %}Audiobooks were prepared as a part of the <em>{{ cs }}</em> project funded by {{ fb }}.{% endblocktrans %}
64 {% blocktrans %}Audiobooks were prepared as a part of the <em>{{ cs }}</em> project.{% endblocktrans %}
70 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js" integrity="sha512-BkBgWiL0N/EFIbLZYGTgbksKG5bS6PtwnWvVk3gccv+KhtK/4wkLxCRGh+kelKiXx7Ey4jfTabLg3AEIPC7ENA==" crossorigin="anonymous"></script>
71 {% javascript "player" %}