| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  | {% extends "symposion/schedule/public_base.html" %} | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% load i18n %} | 
					
						
							| 
									
										
										
										
											2017-01-10 15:12:07 +11:00
										 |  |  | {% load pyconau2017_tags %} | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | {% load thumbnail %} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  | {% if speaker.photo %} | 
					
						
							|  |  |  |   {% block header_inset_image %}{% speaker_photo speaker 512 as speaker_photo %}{{ speaker_photo }}{% endblock %} | 
					
						
							|  |  |  | {% endif %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block header_title %}{{ speaker.name }}{% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block header_paragraph %} | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block head_title %}{{ speaker.name }}{% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  | {% block content %} | 
					
						
							|  |  |  |   {% if speaker.user == request.user or request.user.is_staff %} | 
					
						
							|  |  |  |     <p> | 
					
						
							|  |  |  |       <a class="btn btn-default pull-right" href="{% url "speaker_edit" speaker.pk %}">Edit</a> | 
					
						
							|  |  |  |     </p> | 
					
						
							|  |  |  |   {% 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 %} | 
					
						
							|  |  |  |       <p>No presentations. This page is only visible to staff until there is a presentation.</p> | 
					
						
							|  |  |  |     {% endfor %} | 
					
						
							|  |  |  |   </ul> | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | {% endblock %} |