Speaker pics
This commit is contained in:
		
							parent
							
								
									0d2de61345
								
							
						
					
					
						commit
						171788dd7d
					
				
					 1 changed files with 10 additions and 6 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| {% extends "symposion/schedule/presentation_detail_.html" %} | ||||
| 
 | ||||
| {% load thumbnail %} | ||||
| {% load staticfiles %} | ||||
| 
 | ||||
| {% comment %} | ||||
|   Blocks you can override: | ||||
|  | @ -14,6 +15,15 @@ | |||
|   <h2>{{ speaker.name }}</h2> | ||||
| 
 | ||||
|   <div class="row"> | ||||
|     <div class="col-sm-4 col-xs-6"> | ||||
|       <div class="circle" style="border: 0;"> | ||||
|         {% if speaker.photo %} | ||||
|           <div class="fill" style="background-image: url('{% thumbnail speaker.photo '600x600' %}');"></div> | ||||
|         {% else %} | ||||
|           <div class="fill" style="background-image: url('{% static "images/website-background.svg" %}');"></div> | ||||
|         {% endif %} | ||||
|       </div> | ||||
|     </div> | ||||
|     <div class="col-sm-8"> | ||||
|       <div class="bio"> | ||||
|         {{ speaker.biography_html|safe }} | ||||
|  | @ -23,11 +33,5 @@ | |||
|         <a class="btn btn-primary" href="https://twitter.com/{{ speaker.conferencespeaker.twitter_username }}">Twitter</a> | ||||
|       {% endif %} | ||||
|     </div> | ||||
|     <div class="col-sm-4 col-xs-6"> | ||||
|       <div class="circle" style="border: 0;"> | ||||
|           <div class="fill" style="background-image: url('{% thumbnail speaker.photo '600x600' %}');"></div> | ||||
|       </div> | ||||
|     </div> | ||||
| 
 | ||||
|   </div> | ||||
| {% endblock %} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer