2015-10-16 17:53:02 +00:00
|
|
|
{% 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 %}
|
2017-08-10 23:23:24 +00:00
|
|
|
<h3>{{ level.name }}</h3>
|
2017-08-09 02:51:38 +00:00
|
|
|
|
2015-10-16 17:53:02 +00:00
|
|
|
{% for sponsor in level.sponsors %}
|
2017-08-10 23:23:24 +00:00
|
|
|
<div>
|
2017-08-09 03:17:52 +00:00
|
|
|
{% if sponsor.website_logo %}
|
|
|
|
<a href="{{ sponsor.external_url }}">
|
2017-08-11 22:50:47 +00:00
|
|
|
<img src="{% thumbnail sponsor.website_logo '150x90' %}" alt="{{ sponsor.name }}" />
|
2017-08-09 03:17:52 +00:00
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a>
|
|
|
|
{% endif %}
|
2015-10-16 17:53:02 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2017-08-10 23:23:24 +00:00
|
|
|
|
|
|
|
|