1 {% extends "base/base.html" %}
3 {% load catalogue_tags %}
4 {% load build_absolute_uri from fnp_common %}
7 {% block titleextra %}{{ book.pretty_title }}{% endblock %}
8 {% block ogimage %}{% if book.cover %}{{ book.cover.url|build_absolute_uri:request }}{% endif %}{% endblock %}
10 {% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %}
12 {% block bodyid %}book-detail{% endblock %}
16 {% include 'catalogue/book_wide.html' %}
18 {% work_list book_children %}
21 {% if book.other_versions %}
22 <section class="see-also">
23 <h1>{% trans "Other versions" %}:</h1>
24 {% for rel in book.other_versions %}
30 <section class="see-also">
31 <h2>{% trans "See also" %}:</h2>
32 {% related_books book taken=book.other_versions|length %}
36 {% with book.related_themes as themes %}
38 <h2>{% trans "Themes" %}</h2>
39 {% plain_list themes book=book %}
44 <h2>{% trans "Information about the work" %}</h2>
45 {% for author in book.authors %}
46 <div class="white-box">
47 <a style="display:block" href="{{ author.get_absolute_url }}">
48 {% cache 86400 catalogue_tag_box author.pk %}
49 {% include 'catalogue/tag_box.html' with tag=author %}
56 {% if extra_info.source_url %}
57 <div class="white-box">
58 <a href="{{ extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the book" %}
59 {% trans "in" %} {% source_name extra_info.source_url %}
62 {% if book|status:user != 'closed' %}
63 <div class="white-box"><a href="{{ book.xml_url }}">{% trans "Source XML file" %}</a></div>
65 {% if extra_info.about and not hide_about %}
66 <div class="white-box">
67 {% trans "Book on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a>
70 {% if book.wiki_link %}
71 <div class="white-box">
72 <a href="{{ book.wiki_link }}">{% trans "Book description on Wikipedia" %}</a>
75 <div class="white-box">
76 <a href="{% url 'poem_from_book' book.slug %}">{% trans "Mix this book" %}</a>