templates: Sponsors page shows sponsors without logos.
This commit is contained in:
		
							parent
							
								
									95573ac934
								
							
						
					
					
						commit
						3f99f03cd1
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -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"> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith