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" %}
18 <body id="{% block bodyid %}player{% endblock %}">
19 {% if book.cover_thumb %}
20 <img src="{% thumbnail book.cover_thumb "101x140" as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}"
21 alt="Cover" style="float: left; margin: .5em 1em 1em 1em;" />
25 <h1>{% book_title book %}</h1>
27 <div class="player-info normal-text">
28 <p><a target="_blank" href="{{ book.get_absolute_url }}">{% trans "Book's page" %}</a>.</p>
29 <p>{% trans "Download as" %} {% download_audio book False %}.</p>
31 {% if book.has_daisy_file %}
33 <ul class="daisy-list">
34 {% for media in book.get_daisy %}
35 <li><a href="{{ media.file.url }}">{{ media.name }}</a></li>
41 <div style="clear: both"></div>
42 {% include "catalogue/snippets/jplayer.html" %}
44 {% if projects|length > 1 %}
45 <p>{% trans "Audiobooks were prepared as a part of the projects:" %}</p>
47 {% for cs, fb in projects %}
50 {% blocktrans %}{{ cs }}, funded by {{ fb }}{% endblocktrans %}
59 {% with cs=projects.0.0 fb=projects.0.1 %}
61 {% blocktrans %}Audiobooks were prepared as a part of the <em>{{ cs }}</em> project funded by {{ fb }}.{% endblocktrans %}
63 {% blocktrans %}Audiobooks were prepared as a part of the <em>{{ cs }}</em> project.{% endblocktrans %}
69 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
70 {% javascript "player" %}