fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using cache middleware instead of various caching micro-strategies,
[wolnelektury.git]
/
apps
/
catalogue
/
templates
/
catalogue
/
book_text.html
diff --git
a/apps/catalogue/templates/catalogue/book_text.html
b/apps/catalogue/templates/catalogue/book_text.html
index
8dd1546
..
339cfc7
100644
(file)
--- a/
apps/catalogue/templates/catalogue/book_text.html
+++ b/
apps/catalogue/templates/catalogue/book_text.html
@@
-1,6
+1,6
@@
{% extends "catalogue/viewer_base.html" %}
{% load i18n %}
{% extends "catalogue/viewer_base.html" %}
{% load i18n %}
-{% load catalogue_tags %}
+{% load catalogue_tags
ssify
%}
{% load thumbnail %}
{% load thumbnail %}
@@
-49,7
+49,7
@@
<div id="big-pane" style="">
<article id="main-text">
<div id="big-pane" style="">
<article id="main-text">
-{{ book.html_file.read|safe }}
+<!--#include file='{{ book.html_file.url }}'-->
</article>
<article id="other-text">
</article>
<article id="other-text">
@@
-78,7
+78,7
@@
<li><a class="display-other"
data-other="{{ other_version.html_file.url }}"
href="{% url 'book_text' other_version.slug %}">
<li><a class="display-other"
data-other="{{ other_version.html_file.url }}"
href="{% url 'book_text' other_version.slug %}">
- {%
book_mini other_version with_link=False
%}
+ {%
ssi_include 'catalogue_book_mini_nolink' pk=other_version.pk
%}
</a>
</li>
{% endfor %}
</a>
</li>
{% endfor %}
@@
-95,6
+95,6
@@
</div>
<div class="box" id="book-short">
</div>
<div class="box" id="book-short">
- {%
book_short boo
k %}
+ {%
ssi_include 'catalogue_book_short' pk=book.p
k %}
</div>
{% endblock footer %}
</div>
{% endblock footer %}