X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0882d9a8ec29b8f6c80359a9eca7e5034dc2eb24..af43a678694121f8b7c81a52a64d02c1b024fc57:/src/catalogue/templates/catalogue/2022/book_detail.html diff --git a/src/catalogue/templates/catalogue/2022/book_detail.html b/src/catalogue/templates/catalogue/2022/book_detail.html index 118a05941..a733709eb 100644 --- a/src/catalogue/templates/catalogue/2022/book_detail.html +++ b/src/catalogue/templates/catalogue/2022/book_detail.html @@ -1,65 +1,13 @@ - -{% load pipeline %} +{% extends '2022/base.html' %} + +{% load chunks %} {% load static %} {% load choose_cites from social_tags %} -{% load choose_fragment license_icon from catalogue_tags %} {% load catalogue_tags %} {% load likes_book from social_tags %} -{% load piwik_tags %} - - - - - - - - WolneLektury.pl - - - {% stylesheet '2022' %} - - - - - - - {% tracking_code %} - - - - +{% block global-content %}
+ {% if accessible %}
@@ -314,14 +263,16 @@
{% endif %} - {% if book.has_synchro_file %} + {% if book.has_audio_epub_file %}
-

synchrobook

+

EPUB + audiobook

Książka elektroniczna i audiobook w jednym. Wymaga aplikacji obsługującej format.

- synchrobook + {% for epub in book.media_audio_epub %} + EPUB+audio + {% endfor %}
{% endif %} @@ -333,17 +284,29 @@
{% endif %}
+ {% else %} +
+ {% chunk 'book-preview-warn' %} +
+ +
+ {% include 'club/2022/donation_step1_form.html' with form=donation_form %} +
+ {% endif %}
{{ book.abstract|safe }} {% if book.toc %} -

Spis treści:

- {{ book.toc|safe }} +
+

Spis treści:

+ {{ book.toc|safe }} +
{% endif %}
+ {% if accessible %}

Ta książka jest dostępna dla tysięcy dzieciaków dzięki darowiznom od osób takich jak Ty!

@@ -353,6 +316,7 @@ Dorzuć się!
+ {% endif %}
{% endwith %} @@ -360,40 +324,15 @@ {% for author in book.authors %}
-
-

O autorze

-
- {% if author.photo %} -
- {{ author.name }} -
- {{ author.photo_attribution|safe }} -
-
- {% endif %} - -
-
+ {% include 'catalogue/2022/author_box.html' %} - {% choose_cites book 3 as cites %} + {% choose_cites 3 book=book as cites %} {% if cites %}
{% for fragment in cites %} - - - - {{ fragment.short_text|safe }} - -

{{ fragment.book.pretty_title }}

-
+ {% include "catalogue/2022/fragment_box.html" %} {% endfor %}
@@ -423,6 +362,7 @@ {% if book.wiki_link %}
  • strona utworu w Wikipedii
  • {% endif %} + {% if accessible %}
  • źródłowy plik XML
  • @@ -432,6 +372,7 @@
  • utwór na Platformie Redakcyjnej
  • + {% endif %}
    @@ -492,50 +433,5 @@ - - - - - {% javascript '2022' %} - {% javascript '2022_player' %} - - - - +{% endblock %}