Files
@ bf2f226b8dd7
Branch filter:
Location: CopyleftConf/copyleftconf-website/pinaxcon/templates/_default_sidebar.html - annotation
bf2f226b8dd7
1.0 KiB
text/html
templates: Try to bugfix rendering sponsors without logos.
04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 6be746c88262 6be746c88262 6be746c88262 6be746c88262 6be746c88262 6be746c88262 6be746c88262 c4568003402c 04f246d85071 04f246d85071 04f246d85071 04f246d85071 c4568003402c c4568003402c c4568003402c c4568003402c c4568003402c bf2f226b8dd7 f057e372623b 6a1f32d4f8bf c4568003402c c4568003402c f057e372623b c4568003402c c4568003402c c4568003402c c4568003402c c4568003402c 04f246d85071 c4568003402c 04f246d85071 04f246d85071 | {% load sponsorship_tags %}
{% load thumbnail %}
{% load pinax_boxes_tags %}
{% sponsor_levels as levels %}
<p>Conservancy makes CopyleftConf happen. Please consider becoming a
Supporter of our work year-round!</p>
<div class="conservancy-support-button">
<div><a href="https://sfconservancy.org/supporter/">Support<br>now!</a></div>
</div>
<h3>Sponsors</h3>
<div class="sponsor-list">
{% for level in levels %}
{% if level.sponsors %}
<h4>{{ level.name }}</h4>
{% for sponsor in level.sponsors %}
<div>
{% if sponsor.sponsor_logo %}
<a href="{{ sponsor.external_url }}">
<img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}">
</a>
{% else %}
<a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a>
{% endif %}
</div>
{% endfor %}
{% endif %}
{% endfor %}
</div>
|