27 lines
869 B
HTML
27 lines
869 B
HTML
{% load sponsorship_tags %}
|
|
{% load thumbnail %}
|
|
{% load pinax_boxes_tags %}
|
|
|
|
{% sponsor_levels as levels %}
|
|
|
|
<h4>Sponsors</h4>
|
|
|
|
<div class="sponsor-list">
|
|
{% for level in levels %}
|
|
{% if level.sponsors %}
|
|
<h3 style="margin-top: 3em;">{{ level.name }}</h3>
|
|
|
|
{% for sponsor in level.sponsors %}
|
|
<div style="margin: 10px 0;">
|
|
{% if sponsor.website_logo %}
|
|
<a href="{{ sponsor.external_url }}">
|
|
<img src="{% thumbnail sponsor.website_logo '100x60' %}" alt="{{ sponsor.name }}" />
|
|
</a>
|
|
{% else %}
|
|
<a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|