Changeset - a726124475c7
[Not reviewed]
Brett Smith - 14 months ago 2020-01-23 16:53:06
brettcsmith@brettcsmith.org
templates: Improved sponsors page listing for sponsors without logos.
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/symposion/sponsorship/list.html
Show inline comments
...
 
@@ -15,18 +15,18 @@
 

	
 
      {% for sponsor in level.sponsors %}
 
          <div class="row">
 
           {% if sponsor.sponsor_logo %}
 
            <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">
 
           {% 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>
0 comments (0 inline, 0 general)