<!DOCTYPE html>
<html>
{% load static from staticfiles %}
- {% load i18n compressed %}
+ {% load i18n pipeline %}
{% load catalogue_tags %}
{% load thumbnail %}
<head>
<title>{% trans "Wolne Lektury" %} ::
{{ book.title }} - {{ audiobook }}</title>
<link rel="icon" href="{% static "img/favicon.png" %}" type="image/png" />
- {% compressed_css "all" %}
- {% compressed_css "player" %}
+ {% stylesheet "all" %}
+ {% stylesheet "player" %}
</head>
<body id="{% block bodyid %}player{% endblock %}">
- {% if book.cover %}
+ {% if book.cover_thumb %}
<img src="
- {% thumbnail book.cover "101x140" as thumb %}
+ {% thumbnail book.cover_thumb "101x140" as thumb %}
{{ thumb.url }}
{% empty %}
- {{ book.cover.url }}
+ {{ book.cover_thumb.url }}
{% endthumbnail %}
" alt="Cover" style="float: left; margin: .5em 1em 1em 1em;" />
{% endif %}
{% endif %}
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- {% compressed_js "player" %}
+ <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+ {% javascript "player" %}
{{ piwik_tag|safe }}
</body>