X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..f3ee4c1bfbf4e3856268fa79c63465f591f3499e:/src/catalogue/templates/catalogue/book_text.html diff --git a/src/catalogue/templates/catalogue/book_text.html b/src/catalogue/templates/catalogue/book_text.html index 339cfc7b2..52f281b05 100644 --- a/src/catalogue/templates/catalogue/book_text.html +++ b/src/catalogue/templates/catalogue/book_text.html @@ -1,100 +1,272 @@ -{% extends "catalogue/viewer_base.html" %} -{% load i18n %} -{% load catalogue_tags ssify %} +{% extends "base.html" %} + + +{% load i18n l10n %} +{% load catalogue_tags %} +{% load chunks %} {% load thumbnail %} +{% load static %} +{% load annoy_banners from annoy %} {% block title %}{{ book.pretty_title }}{% endblock %} +{% block extrahead %} + + +{% endblock %} + + {% block menu %} -
  • - {{ book.pretty_title }} -
  • - -{% if book.other_versions.exists %} -
  • + + {% trans "Kliknij, by pobrać" %}: + {{ book.pretty_title }} -
  • -{% endif %} + - + {% if book.other_versions.exists %} + + {% endif %} - + {% if extra_info.logo_mono %} + {% thumbnail extra_info.logo_mono '200x200' as th %} + {{ extra_info.logo_alt|default:'Sponsor' }} + {% endthumbnail %} + {% endif %} - - - {% endblock menu %} -{% block big-pane %} -
    +{% block breadcrumb-right %} + +{% endblock %} + -
    - -
    -
    - {% trans "Close" %} -
    {% trans "Please wait..." %}
    - -
    -{% endblock big-pane %} +{% block main %} +
    +
    + + + +
    +
    + Szacowany czas do końca: - +
    +
    +
    + {{ book.pretty_title }} +
    +

    {% for author in book.authors %}{{ author.name }}{% if not forloop.last %}, {% endif %}{% endfor %} +

    +

    {{ book.title }}

    + {% if book.translators.exists %} +

    + {% for translator in book.translators.all %} + {% if forloop.first and translator.name != 'tłumacz nieznany' %} + {% trans "tłum." %} + {% endif %} + + {{ translator }}{% if not forloop.last %}, {% endif %} + {% endfor %} +

    + {% endif %} +
    + {% content_warning book %} +
    +
    +
    -{% block footer %} -
    - {% book_info book %} -
    -{% if book.other_versions.exists %} -
    -

    {% trans "Other versions of the book" %}

    - {% trans "Close the other version" %} - +
    + {% endif %} + +
    + {% annoy_banners 'book-text-intermission' %} + + {% for insert in inserts %} + {% include 'annoy/dynamic_insert.html' %} + {% endfor %} +
    + + + + + + {% if book.has_sync_file %} +
    + {% include 'catalogue/snippets/jplayer_reader.html' %} +
    + + {% endif %} + + +
    + +
    + + {% localize off %} + + + {% endlocalize %} + +{% endblock main %}