-<div id="info" class="box">
- {% book_info book %}
-</div>
-
-{% if book.other_versions.exists %}
-<div class="box" id="other">
- <h2>{% trans "Other versions of the book" %}</h2>
- <a class="other-text-close" href="#">{% trans "Close the other version" %}</a>
- <ul>
- {% spaceless %}
- {% for other_version in book.other_versions %}
- <li>
- <a class="display-other"
- data-other="{{ other_version.html_file.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 %#}
+ <div id="info" class="box">
+ {% book_info book %}
+ </div>
+
+ {% if book.other_versions.exists %}
+ <div class="box" id="other">
+ <h2>{% trans "Other versions of the book" %}</h2>
+ <a class="other-text-close" href="#">{% trans "Close the other version" %}</a>
+ <ul>
+ {% spaceless %}
+ {% for other_version in book.other_versions %}
+ <li>
+ <a class="display-other"
+ data-other="{{ other_version.html_url }}"
+ href="{% url 'book_text' other_version.slug %}">
+ {{ other_version.mini_box_nolink }}
+ </a>
+ </li>
+ {% endfor %}
+ {% endspaceless %}
+ </ul>
+ </div>
+ {% endif %}
+
+ <div class="box" id="settings">
+ <h2>{% trans "Settings" %}</h2>
+ <a href="#" class="settings-switch" id="settings-line-numbers"
+ data-setting="always-hide-line-numbers">{% trans "Display line numbers" %}</a><br/>
+ <a href="#" class="settings-switch" id="settings-themes"
+ data-setting="always-hide-themes">{% trans "Display themes" %}</a><br/>
+ <a href="#" class="settings-switch" id="settings-annotations"
+ data-setting="no-annotations">{% trans "Display footnotes" %}</a><br/>
+ </div>
+
+ <div class="box" id="book-short">
+ {% include 'catalogue/book_short.html' %}
+ </div>
+
+ <div id="annoy-stubs">
+ {% annoy_banners 'book-text-intermission' %}
+
+ {% for insert in inserts %}
+ {% with text=insert.choose %}
+ <div class="dynamic-insert{% if text.image %} with-image{% endif %}" style="{% if text.background_color %}background-color: {{ text.background_color }};{% endif %}" data-paragraphs="{{ insert.paragraphs }}">
+ <a href="{% url 'club' %}">
+ <div class="text" style="{% if text.text_color %}color:{{ text.text_color }}{% endif %}">
+ {{ text.text|safe|linebreaks }}
+ </div>
+ {% if text.image %}
+ <img src="{% thumbnail text.image '120x120' as thumb %}{{ thumb.url }}{% empty %}{{ text.image.url }}{% endthumbnail %}">
+ {% endif %}