94f6c30b4d54d2be83cc972fcb469e7d3ab7b974
[wolnelektury.git] / apps / sponsors / templates / sponsors / page.html
1 <div class="sponsors-page">
2     {% for column in sponsors %}
3         <div class="sponsors-column">
4             <p class="sponsors-column-name">{{ column.name|default:"&nbsp;" }}</p>
5             <div class='sponsors'>
6                 {% for offset, sponsor in column.sponsors %}
7                     <a href="{{ sponsor.url }}" title="{{ sponsor.description }}" 
8                         style='display:block; background: url({{ page.sprite.url }}) 0px {{ offset }}px no-repeat; width: 120px; height: 120px;'>
9                     </a>
10                 {% endfor %}
11             </div>
12         </div>
13     {% endfor %}
14     <div style="clear: both"></div>
15 </div>