Files
@ a726124475c7
Branch filter:
Location: CopyleftConf/copyleftconf-website/pinaxcon/templates/symposion/sponsorship/list.html - annotation
a726124475c7
1.2 KiB
text/html
templates: Improved sponsors page listing for sponsors without logos.
dbdbdac6d8d0 dbdbdac6d8d0 532d01dd22df 95573ac9348f 532d01dd22df dbdbdac6d8d0 7159eeec241f dbdbdac6d8d0 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 a726124475c7 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 a726124475c7 a726124475c7 a726124475c7 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 5bd39e16dd60 | {% extends "symposion/sponsorship/list_.html" %}
{% load sponsorship_tags %}
{% load thumbnail %}
{% block lede %}
We're grateful to the following organizations, who've made a substantial contribution to CopyleftConf 2020. Learn how you can join us by checking out <a href="/sponsors/become-a-sponsor">our prospectus</a>.
{% endblock %}
{% block content %}
{% sponsor_levels as levels %}
{% for level in levels %}
{% if level.sponsors %}
<h2>{{ level.name }}</h2>
{% for sponsor in level.sponsors %}
<div class="row">
{% if sponsor.sponsor_logo %}
<div class="col-md-4">
<h2>
<a href="{{ sponsor.external_url }}">
<img style="width: 90%; margin-right: 10%;" src="{% thumbnail sponsor.website_logo '600x320' %}" alt="{{ sponsor.name }}" />
</a>
</h2>
</div>
<div class="col-md-8">
{% else %}
<div class="col-md-12">
{% endif %}
<h3><a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a></h3>
<p>{{ sponsor.listing_text|urlize|linebreaks }}</p>
</div>
</div>
{% endfor %}
{% endif %}
{% endfor %}
{% endblock %}
|