templates: Sponsors page shows sponsors without logos.

This commit is contained in:
Brett Smith 2020-01-23 11:49:44 -05:00
parent 95573ac934
commit 3f99f03cd1

View file

@ -14,13 +14,16 @@
<h2>{{ level.name }}</h2>
{% for sponsor in level.sponsors %}
{% if sponsor.sponsor_logo %}
<div class="row">
<div class="col-md-4">
<h2>
{% if sponsor.sponsor_logo %}
<a href="{{ sponsor.external_url }}">
<img style="width: 90%; margin-right: 10%;" src="{% thumbnail sponsor.website_logo '600x320' %}" alt="{{ sponsor.name }}" />
</a>
{% else %}
<a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a>
{% endif %}
</h2>
</div>
<div class="col-md-8">