{% block menu %}
<li>
<a href="{{ book.get_absolute_url }}" id="menu-book" data-box="book-short">
+ <span class="label">{% trans "Click to download" %}:</span>
<img src="{% if book.cover_thumb %}{% thumbnail book.cover_thumb '240x332' as thumb %}{{ thumb.url }}{% empty %}{{ book.cover_thumb.url }}{% endthumbnail %}{% endif %}"
width="120" height="166"
alt="{{ book.pretty_title }}"
{% if prev %}
<a style="display:inline-block;padding: 1em;" href="{% url 'book_text' prev.slug %}">← {{ prev.title }}</a>
{% endif %}
+ <div style="text-align:center; margin-top:1em;">
+ {% content_warning book %}
+ </div>
<div style="clear:both;"></div>
{{ book_text|safe }}
{% endwith %}
{% localize off %}
<script type="application/json" id="interesting-references">
{
- {% for ref in book.reference_set.all %}
+ {% for ref in book.references %}
{% if ref.entity.is_interesting %}
"{{ ref.entity.uri }}": {
{% if ref.entity.lat and ref.entity.lon %}