more graphics
[prawokultury.git] / migdal / templates / migdal / entry / entry_promobox.html
1 {% load i18n %}
2
3
4 <li class="promobox-item"{% if counter == 1 %} class="active"{% endif %}
5     style="
6     {% if counter != 1 %}display: none;{% endif %}
7     {% if object.image %}
8         background: url('{{ object.image.url }}');
9         background-size:100%;
10         background-position: 50% 50%;
11     {% else %}
12         background: black;
13     {% endif %}
14 ">
15
16 <a class="promobox-link" href="{{ object.get_absolute_url }}">
17
18
19 <div class="promobox-info">
20 <div class="clip">
21 <h2>{{ object.title }}</h2>
22
23 <div class="lead">
24 {{ object.lead }}
25 </div>
26 </div>
27 </div>
28
29 </a>
30 </li>