Code layout change.
[wolnelektury.git] / src / social / templates / social / cite_promo.html
1 {% spaceless %}
2
3 {% load i18n %}
4
5 {% if main %}
6     <section id="big-cite"{% if cite.image %} style="background-image: url('{{ cite.image.url }}'); background-position: 50% {{ cite.image_shift|default_if_none:50 }}%;"{% endif %} >
7 {% endif %}
8
9 {% if cite %}
10
11 <a href="{{ cite.link }}" class="cite{% if cite.small %} cite-small{% endif %}">
12     {% if cite.vip %}
13         <p class='vip mono'><span>{{ cite.vip }} {% trans "recommends" %}:</span></p>
14     {% endif %}
15     <blockquote class="cite-body">
16         <span>{{ cite.text|linebreaksbr|safe }}</span>
17     </blockquote>
18     {% if cite.book %}
19     <p class="source mono"><span>{{ cite.book.pretty_title }}</span></p>
20     {% endif %}
21 </a>
22
23 {% endif %}
24
25
26 {% if main %}
27     </section>
28 {% endif %}
29
30 {% endspaceless %}