Django 1.8 and other updates.
[wolnelektury.git] / apps / sponsors / templates / sponsors / page.html
1 {% spaceless %}
2 <style type="text/css">.sponsors-page a{background-image:url({{ page.sprite.url }});}</style>
3 <div class="sponsors-page">
4     {% for column in sponsors %}
5         <div class="sponsors-column">
6             <p class="sponsors-column-name">{{ column.name|default:"&nbsp;" }}</p>
7             <div class='sponsor-logos'>
8                 {% for offset, sponsor in column.sponsors %}
9                     <a href="{{ sponsor.url }}" title="{{ sponsor.description }}" style='background-position: 0px {{ offset }}px;'></a>
10                 {% endfor %}
11             </div>
12         </div>
13     {% endfor %}
14     <div style="clear: both"></div>
15 </div>
16 {% endspaceless %}