Changeset - 5bd39e16dd60
[Not reviewed]
0 1 0
Brett Smith - 4 years ago 2020-01-23 16:39:46
brettcsmith@brettcsmith.org
templates: Override sponsor list content block to try to bugfix.
1 file changed with 27 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/symposion/sponsorship/list.html
Show inline comments
 
{% extends "symposion/sponsorship/list_.html" %}
 

	
 
{% 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 %}
 
        {% if sponsor.sponsor_logo %}
 
          <div class="row">
 
            <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">
 
              <h3><a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a></h3>
 
              <p>{{ sponsor.listing_text|urlize|linebreaks }}</p>
 
            </div>
 
          </div>
 
        {% endif %}
 
      {% endfor %}
 
    {% endif %}
 
  {% endfor %}
 
{% endblock %}
0 comments (0 inline, 0 general)