0 1 0
Brett Smith - 10 months 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:
↑ Collapse Diff ↑
...
 
@@ -3,3 +3,30 @@
3 3
 
{% block lede %}
4 4
 
  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>.
5 5
 
{% endblock %}
6
 

	
7
 
{% block content %}
8
 
  {% sponsor_levels as levels %}
9
 
  {% for level in levels %}
10
 
    {% if level.sponsors %}
11
 
      <h2>{{ level.name }}</h2>
12
 

	
13
 
      {% for sponsor in level.sponsors %}
14
 
        {% if sponsor.sponsor_logo %}
15
 
          <div class="row">
16
 
            <div class="col-md-4">
17
 
              <h2>
18
 
                <a href="{{ sponsor.external_url }}">
19
 
                  <img style="width: 90%; margin-right: 10%;" src="{% thumbnail sponsor.website_logo '600x320' %}" alt="{{ sponsor.name }}" />
20
 
                </a>
21
 
              </h2>
22
 
            </div>
23
 
            <div class="col-md-8">
24
 
              <h3><a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a></h3>
25
 
              <p>{{ sponsor.listing_text|urlize|linebreaks }}</p>
26
 
            </div>
27
 
          </div>
28
 
        {% endif %}
29
 
      {% endfor %}
30
 
    {% endif %}
31
 
  {% endfor %}
32
 
{% endblock %}
0 comments (0 inline, 0 general)