refactoring: replaced locals() by explicit dicts
[wolnelektury.git] / src / catalogue / templates / catalogue / book_wide.html
1 {% extends "catalogue/book_short.html" %}
2 {% load i18n %}
3 {% load choose_fragment download_audio custom_pdf_link_li license_icon source_name from catalogue_tags %}
4 {% load choose_cite from social_tags %}
5 {% load ssi_include from ssify %}
6
7
8 {% block box-class %}book-wide-box{% endblock %}
9
10
11 {% block cover-area-extra %}
12 {% if extra_info.license %}
13   {% license_icon extra_info.license %}
14 {% endif %}
15 {% endblock %}
16
17
18 {% block right-column %}
19   <div class="right-column">
20     <div class="quote">
21       {% choose_cite book.pk as cite_promo %}
22       {% choose_fragment book.pk unless=cite_promo as fragment_promo %}
23       {{ cite_promo.if }}
24         {% ssi_include 'social_cite' pk=cite_promo %}
25       {{ cite_promo.endif }}
26       {{ fragment_promo.if }}
27         {% ssi_include 'catalogue_fragment_promo' pk=fragment_promo %}
28       {{ fragment_promo.endif }}
29     </div>
30     {% include 'catalogue/snippets/jplayer.html' %}
31   </div>
32 {% endblock %}
33
34
35 {% block book-box-body-pre %}
36     {% include "catalogue/snippets/like_button.html" %}
37 {% endblock %}
38
39 {% block book-box-pre %}
40 {% endblock %}