Changeset - 3f99f03cd1c0
[Not reviewed]
0 1 0
Brett Smith - 22 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:
0 comments (0 inline, 0 general)
pinaxcon/templates/symposion/sponsorship/list.html
Show inline comments
...
 
@@ -14,13 +14,16 @@
 
      <h2>{{ level.name }}</h2>
 

	
 
      {% for sponsor in level.sponsors %}
 
        {% if sponsor.sponsor_logo %}
 
          <div class="row">
 
            <div class="col-md-4">
 
              <h2>
 
                {% if sponsor.sponsor_logo %}
 
                <a href="{{ sponsor.external_url }}">
 
                  <img style="width: 90%; margin-right: 10%;" src="{% thumbnail sponsor.website_logo '600x320' %}" alt="{{ sponsor.name }}" />
 
                </a>
 
                {% else %}
 
                <a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a>
 
                {% endif %}
 
              </h2>
 
            </div>
 
            <div class="col-md-8">
0 comments (0 inline, 0 general)