X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c2e8051452fa55db096553cbe5ae622fc363d481..af43a678694121f8b7c81a52a64d02c1b024fc57:/src/catalogue/templates/catalogue/book_wide.html diff --git a/src/catalogue/templates/catalogue/book_wide.html b/src/catalogue/templates/catalogue/book_wide.html index 7721c2376..9413ee70f 100644 --- a/src/catalogue/templates/catalogue/book_wide.html +++ b/src/catalogue/templates/catalogue/book_wide.html @@ -2,11 +2,16 @@ {% load i18n %} {% load choose_fragment license_icon from catalogue_tags %} {% load choose_cite from social_tags %} +{% load status from catalogue_tags %} +{% load chunks %} {% block box-class %}book-wide-box{% endblock %} +{% block cover-link %}{% if book.get_first_text %}{% url 'book_text' book.get_first_text.slug %}{% endif %}{% endblock %} + + {% block cover-area-extra %} {% with license=book.get_extra_info_json.license %} {% if license %} @@ -16,6 +21,14 @@ {% endblock %} +{% block preview-info %} +

+ {% chunk "book-preview-warn" %} +

+{% endblock %} + + + {% block right-column %}
@@ -30,6 +43,20 @@ {% endif %}
{% include 'catalogue/snippets/jplayer.html' %} + + {% if book|status:request.user == 'closed' %} + {% with form=club_form %} +
+ {% csrf_token %} + {% include "club/payment_form.html" %} + {% chunk 'club_form_bottom' %} +
+ {% endwith %} + + {% include "club/payment_info.html" %} + {% endif %} + +
{% endblock %}