{% extends "base.html" %}
{% load toolbar_tags i18n %}
-{% block title %}{{ book.title }} - {{ block.super }}{% endblock %}
+{% block titleextra %}{{ chunk.pretty_title }}{% endblock %}
{% block extrahead %}
-{% load compressed %}
-{% compressed_css 'detail' %}
+{% load pipeline %}
+{% stylesheet 'detail' %}
{% endblock %}
{% block extrabody %}
-<script type="text/javascript" charset="utf-8">
+<script type="text/javascript">
var STATIC_URL = '{{STATIC_URL}}';
</script>
-{% compressed_js 'detail' %}
+{% javascript 'detail' %}
{% endblock %}
{% block maincontent %}
<div id="document-meta"
- data-book="{{ chunk.book.slug }}" data-chunk="{{ chunk.slug }}" style="display:none">
+ data-chunk-id="{{ chunk.pk }}" style="display:none">
<span data-key="gallery">{{ chunk.book.gallery }}</span>
+ <span data-key="gallery-start">{% if chunk.gallery_start %}{{ chunk.gallery_start }}{% endif %}</span>
<span data-key="revision">{{ revision }}</span>
<span data-key="diff">{{ request.GET.diff }}</span>
</div>
<div id="header">
- <h1><a href="{% url catalogue_document_list %}"><img src="{{STATIC_URL}}icons/go-home.png"/><a href="{% url catalogue_document_list %}">Strona<br>główna</a></h1>
+ <h1><a href="{% url 'catalogue_document_list' %}"><img src="{{STATIC_URL}}icons/go-home.png" alt="Home" /></a><a href="{% url 'catalogue_document_list' %}">Strona<br>główna</a></h1>
<div id="tools">
<a href="{{ REDMINE_URL }}projects/wl-publikacje/wiki/Pomoc" target="_blank">
{% trans "Help" %}</a>