3 {% load static from staticfiles %}
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 "all" %}
16 {% stylesheet "player" %}
19 <body id="{% block bodyid %}player{% endblock %}">
21 {% if book.cover_thumb %}
23 {% thumbnail book.cover_thumb "101x140" as thumb %}
26 {{ book.cover_thumb.url }}
28 " alt="Cover" style="float: left; margin: .5em 1em 1em 1em;" />
32 <h1>{% book_title book %}</h1>
34 <div class="player-info normal-text">
35 <p><a target="_blank" href="{{ book.get_absolute_url }}">{% trans "Book's page" %}</a>.</p>
36 <p>{% trans "Download as" %} {% download_audio book False %}.</p>
38 {% if book.has_daisy_file %}
40 <ul class="daisy-list">
41 {% for media in book.get_daisy %}
42 <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
48 <div style="clear: both"></div>
49 {% include "catalogue/snippets/jplayer.html" %}
51 {% if projects|length > 1 %}
52 <p>{% trans "Audiobooks were prepared as a part of the projects:" %}</p>
54 {% for cs, fb in projects %}
57 {% blocktrans %}{{ cs }}, funded by {{ fb }}{% endblocktrans %}
66 {% with projects.0.0 as cs %}
67 {% with projects.0.1 as fb %}
69 {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project funded by {{ fb }}.{% endblocktrans %}
71 {% blocktrans %}Audiobooks were prepared as a part of the {{ cs }} project.{% endblocktrans %}
79 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
80 {% javascript "player" %}