| 
									
										
										
										
											2019-10-21 09:07:50 +10:00
										 |  |  | {% extends "symposion/speakers/base.html" %} | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% load i18n %} | 
					
						
							| 
									
										
										
										
											2017-09-27 23:46:13 +10:00
										 |  |  | {% load lca2018_tags %} | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | {% load thumbnail %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block head_title %}{{ speaker.name }}{% endblock %} | 
					
						
							| 
									
										
										
										
											2019-10-21 09:07:50 +10:00
										 |  |  | {% block page_title %}{{ speaker.name }}{% endblock %} | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  | {% block content %} | 
					
						
							| 
									
										
										
										
											2019-10-21 09:07:50 +10:00
										 |  |  | <div class="row"> | 
					
						
							|  |  |  |   <div class="col-md-8"> | 
					
						
							|  |  |  |     {% if speaker.user == request.user or request.user.is_staff %} | 
					
						
							|  |  |  |       <a class="btn btn-secondary float-right" href="{% url "speaker_edit" speaker.pk %}">Edit</a> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <h3>Biography</h3> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div class="bio">{{ speaker.biography_html|safe }}</div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <h3>Presentations</h3> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <ul> | 
					
						
							|  |  |  |       {% for presentation in presentations %} | 
					
						
							|  |  |  |         <li> | 
					
						
							|  |  |  |           <a href="{% url "schedule_presentation_detail" presentation.pk %}">{{ presentation.title }}</a> | 
					
						
							|  |  |  |           {% if presentation.slot %} | 
					
						
							|  |  |  |             – | 
					
						
							|  |  |  |               {{ presentation.slot.day.date|date:"l" }} | 
					
						
							|  |  |  |               {{ presentation.slot.start}}–{{ presentation.slot.end }} | 
					
						
							|  |  |  |               in | 
					
						
							|  |  |  |               {{ presentation.slot.rooms|join:", " }} | 
					
						
							|  |  |  |           {% endif %} | 
					
						
							|  |  |  |         </li> | 
					
						
							|  |  |  |       {% empty %} | 
					
						
							|  |  |  |         <li>No presentations. This page is only visible to staff until there is a presentation.</li> | 
					
						
							|  |  |  |       {% endfor %} | 
					
						
							|  |  |  |     </ul> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |   <div class="col-md-4"> | 
					
						
							|  |  |  |     {% speaker_photo speaker 512 as speaker_photo_url %} | 
					
						
							|  |  |  |     <img src="{{ speaker_photo_url }}" alt="{{ speaker.name }}" class="rounded-circle img-fluid"> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | {% endblock %} |