0 1 0
Brett Smith - 10 months ago 2020-01-23 16:49:44
brettcsmith@brettcsmith.org
templates: Sponsors page shows sponsors without logos.
1 file changed with 4 insertions and 1 deletions:
↑ Collapse Diff ↑
...
 
@@ -14,13 +14,16 @@
14 14
 
      <h2>{{ level.name }}</h2>
15 15
 

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