fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes.
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
book_text.html
diff --git
a/src/catalogue/templates/catalogue/book_text.html
b/src/catalogue/templates/catalogue/book_text.html
index
42eb1fa
..
a1c0b23
100644
(file)
--- a/
src/catalogue/templates/catalogue/book_text.html
+++ b/
src/catalogue/templates/catalogue/book_text.html
@@
-1,8
+1,7
@@
{% extends "catalogue/viewer_base.html" %}
{% load i18n %}
{% extends "catalogue/viewer_base.html" %}
{% load i18n %}
-{% load catalogue_tags
ssify
%}
+{% load catalogue_tags %}
{% load thumbnail %}
{% load thumbnail %}
-{% load cache %}
{% block title %}{{ book.pretty_title }}{% endblock %}
{% block title %}{{ book.pretty_title }}{% endblock %}
@@
-61,7
+60,7
@@
{% block big-pane %}
<article id="main-text">
{% block big-pane %}
<article id="main-text">
- <!--#include file='{{ book.html_url }}' -->
+ {{ book_text|safe }}
</article>
<article id="other-text">
</article>
<article id="other-text">
@@
-88,10
+87,7
@@
<a class="display-other"
data-other="{{ other_version.html_url }}"
href="{% url 'book_text' other_version.slug %}">
<a class="display-other"
data-other="{{ other_version.html_url }}"
href="{% url 'book_text' other_version.slug %}">
- {% cache 86400 book_mini_box other_version.pk %}
- {% include 'catalogue/book_mini_box.html' with book=other_version no_link=True %}
- {% endcache %}
- {#% ssi_include 'catalogue_book_mini_nolink' pk=other_version.pk %#}
+ {{ other_version.mini_box_nolink }}
</a>
</li>
{% endfor %}
</a>
</li>
{% endfor %}