1 {% extends "base/base.html" %}
3 {% load catalogue_tags %}
4 {% load build_absolute_uri from fnp_common %}
5 {% load annoy_banner from annoy %}
8 {% block titleextra %}{{ book.pretty_title }}{% endblock %}
9 {% block ogimage %}{% if book.cover %}{{ book.cover.url|build_absolute_uri:request }}{% endif %}{% endblock %}
11 {% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %}
13 {% block bodyid %}book-detail{% endblock %}
17 {% include 'catalogue/book_wide.html' %}
19 {% work_list book_children %}
22 {% if book.other_versions %}
23 <section class="see-also">
24 <h1>{% trans "Other versions" %}:</h1>
25 {% for rel in book.other_versions %}
31 {% annoy_banner 'book-page' %}
33 <section class="see-also">
34 <h2>{% trans "See also" %}:</h2>
35 {% related_books book taken=book.other_versions|length %}
39 {% with book.related_themes as themes %}
41 <h2>{% trans "Themes" %}</h2>
42 {% plain_list themes book=book %}
47 <h2>{% trans "Information about the work" %}</h2>
48 {% for author in book.authors %}
49 <div class="white-box">
50 <a style="display:block" href="{{ author.get_absolute_url }}">
51 {% cache 86400 catalogue_tag_box author.pk %}
52 {% include 'catalogue/tag_box.html' with tag=author %}
59 {% with extra_info=book.get_extra_info_json %}
60 {% for source_url in extra_info.source_urls %}
61 <div class="white-box">
62 <a href="{{ source_url }}">{% trans "Source" %}</a> {% trans "of the book" %}
63 {% trans "in" %} {% source_name source_url %}
66 {% if extra_info.source_url %}
67 <div class="white-box">
68 <a href="{{ extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the book" %}
69 {% trans "in" %} {% source_name extra_info.source_url %}
73 {% if book|status:user != 'closed' %}
74 <div class="white-box"><a href="{{ book.xml_url }}">{% trans "Source XML file" %}</a></div>
76 {% if extra_info.about and not hide_about %}
77 <div class="white-box">
78 {% trans "Book on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a>
81 {% if book.wiki_link %}
82 <div class="white-box">
83 <a href="{{ book.wiki_link }}">{% trans "Book description on Wikipedia" %}</a>
86 <div class="white-box">
87 <a href="{% url 'poem_from_book' book.slug %}">{% trans "Mix this book" %}</a>