templates: Override sponsor list content block to try to bugfix.
This commit is contained in:
		
							parent
							
								
									bf2f226b8d
								
							
						
					
					
						commit
						5bd39e16dd
					
				
					 1 changed files with 27 additions and 0 deletions
				
			
		|  | @ -3,3 +3,30 @@ | ||||||
| {% block lede %} | {% 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>. |   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 %} | {% 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 %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith