<!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 }}
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- var pageTracker = _gat._getTracker("UA-2576694-1");
- pageTracker._trackPageview();
- </script>
</body>
</html>