1 {% extends "base/base.html" %}
 
   3 {% load common_tags catalogue_tags %}
 
   5 {% load build_absolute_uri from fnp_common %}
 
   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 %}
 
  16   {% cache 86400 book_wide book.pk book|status:user %}
 
  17     {% include 'catalogue/book_wide.html' %}
 
  20   {% work_list book_children %}
 
  23     {% if book.other_versions %}
 
  24       <section class="see-also">
 
  25         <h1>{% trans "Other versions" %}:</h1>
 
  26         {% for rel in book.other_versions %}
 
  27           {% cache 86400 book_mini_box rel.pk %}
 
  28             {% include 'catalogue/book_mini_box.html' with book=rel %}
 
  30           {#% ssi_include 'catalogue_book_mini' pk=rel.pk %#}
 
  35     <section class="see-also">
 
  36       <h2>{% trans "See also" %}:</h2>
 
  37       {% related_books book taken=book.other_versions|length %}
 
  41   {% with book.related_themes as themes %}
 
  43       <h2>{% trans "Themes" %}</h2>
 
  44       {% plain_list themes book=book %}
 
  49   <h2>{% trans "Information about the work" %}</h2>
 
  51     <div class="white-box">
 
  52       <a style="display:block" href="{{ tag.get_absolute_url }}">
 
  53         {% ssi_include 'catalogue_tag_box' pk=tag.pk %}
 
  59   {% if extra_info.source_url %}
 
  60     <div class="white-box">
 
  61       <a href="{{ extra_info.source_url }}">{% trans "Source" %}</a> {% trans "of the book" %}
 
  62       {% trans "in" %} {% source_name extra_info.source_url %}
 
  65   <div class="white-box"><a href="{{ book.xml_file.url }}">{% trans "Source XML file" %}</a></div>
 
  66   {% if extra_info.about and not hide_about %}
 
  67     <div class="white-box">
 
  68       {% trans "Book on" %} <a href="{{ extra_info.about }}">{% trans "Editor's Platform" %}</a>
 
  71   {% if book.wiki_link %}
 
  72     <div class="white-box">
 
  73       <a href="{{ book.wiki_link }}">{% trans "Book description on Wikipedia" %}</a>
 
  76   <div class="white-box">
 
  77     <a href="{% url 'poem_from_book' book.slug %}">{% trans "Mix this book" %}</a>