X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/06175c1d644d5a6f3093c945f18d6b3c33cc8d46..fd8cd1a9e08a5b31819da53d96a6775d31c20748:/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 052782354..a733709eb 100644 --- a/src/catalogue/templates/catalogue/2022/book_detail.html +++ b/src/catalogue/templates/catalogue/2022/book_detail.html @@ -1,12 +1,13 @@ -{% extends '2022/base_real.html' %} +{% extends '2022/base.html' %} +{% load chunks %} {% load static %} {% load choose_cites from social_tags %} {% load catalogue_tags %} {% load likes_book from social_tags %} -{% block content %} +{% block global-content %}
+ {% if accessible %}
@@ -261,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 %} @@ -280,6 +284,15 @@
{% endif %}
+ {% else %} +
+ {% chunk 'book-preview-warn' %} +
+ +
+ {% include 'club/2022/donation_step1_form.html' with form=donation_form %} +
+ {% endif %}
{{ book.abstract|safe }} @@ -293,6 +306,7 @@
+ {% if accessible %}

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

@@ -302,6 +316,7 @@ Dorzuć się!
+ {% endif %}
{% endwith %} @@ -309,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 %}
@@ -372,6 +362,7 @@ {% if book.wiki_link %}
  • strona utworu w Wikipedii
  • {% endif %} + {% if accessible %}
  • źródłowy plik XML
  • @@ -381,6 +372,7 @@
  • utwór na Platformie Redakcyjnej
  • + {% endif %}