| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  | {% extends "site_base.html" %} | 
					
						
							| 
									
										
										
										
											2017-01-10 21:31:18 +11:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% load lca2018_tags %} | 
					
						
							|  |  |  | {% load sitetree %} | 
					
						
							|  |  |  | {% load staticfiles %} | 
					
						
							|  |  |  | {% load thumbnail %} | 
					
						
							|  |  |  | {% load i18n %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block head_title %}Session: {{ session }}{% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block header_title %}Session: {{ session }}{% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block header_paragraph %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block content %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <dl class="dl-horizontal"> | 
					
						
							|  |  |  |     <dt>{% trans "Session Chair" %}</dt> | 
					
						
							|  |  |  |     <dd> | 
					
						
							|  |  |  |         {% if chair %} | 
					
						
							|  |  |  |             {{ chair.attendee.attendeeprofilebase.attendeeprofile.name }} | 
					
						
							|  |  |  |             {% if request.user == chair %} | 
					
						
							|  |  |  |                 <form method="POST"> | 
					
						
							|  |  |  |                     {% csrf_token %} | 
					
						
							|  |  |  |                     <input type="hidden" name="role" value="un-chair" /> | 
					
						
							| 
									
										
										
										
											2018-01-14 11:19:20 +11:00
										 |  |  |                     <input type="submit" value="Opt out" class="btn btn-info"/> | 
					
						
							| 
									
										
										
										
											2017-01-10 21:31:18 +11:00
										 |  |  |                 </form> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |         {% else %} | 
					
						
							|  |  |  |             {% if request.user.is_authenticated %} | 
					
						
							|  |  |  |                 {% if request.user.attendee.completed_registration %} | 
					
						
							|  |  |  |                     {% if not chair_denied %} | 
					
						
							|  |  |  |                         <form method="POST"> | 
					
						
							|  |  |  |                             {% csrf_token %} | 
					
						
							|  |  |  |                             <input type="hidden" name="role" value="chair" /> | 
					
						
							| 
									
										
										
										
											2018-01-14 11:19:20 +11:00
										 |  |  |                             <input type="submit" class="btn btn-success" value="Volunteer to be session chair"/> | 
					
						
							| 
									
										
										
										
											2017-01-10 21:31:18 +11:00
										 |  |  |                         </form> | 
					
						
							|  |  |  |                     {% endif %} | 
					
						
							|  |  |  |                 {% else %} | 
					
						
							|  |  |  |                     {% url 'guided_registration' as guided_registration %} | 
					
						
							|  |  |  |                     <a href="{{ guided_registration }}">Click here to get a ticket for the conference,</a> and enable volunteering for session roles. | 
					
						
							|  |  |  |                 {% endif %} | 
					
						
							|  |  |  |             {% else %} | 
					
						
							|  |  |  |               Sign up and <a href="/saml2/login/?next={{ request.path }}">log in</a> to volunteer to be session chair. | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |     </dd> | 
					
						
							|  |  |  |     <dt>{% trans "Session Runner" %}</dt> | 
					
						
							|  |  |  |     <dd> | 
					
						
							|  |  |  |         {% if runner %} | 
					
						
							|  |  |  |           {{ runner.profile.display_name }} | 
					
						
							|  |  |  |         {% else %} | 
					
						
							|  |  |  |           {% blocktrans %}Session runner not assigned.{% endblocktrans %} | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |     </dd> | 
					
						
							|  |  |  |   </dl> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <h2>Slots</h2> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <table class="table"> | 
					
						
							|  |  |  |     {% for slot in session.slots.all %} | 
					
						
							|  |  |  |       <tr> | 
					
						
							|  |  |  |           <td>{{ slot }}</td> | 
					
						
							|  |  |  |           <td>{% if slot.content %}<a href="{% url 'schedule_presentation_detail' slot.content.pk %}">{{ slot.content }}</a>{% endif %}</td> | 
					
						
							|  |  |  |       </tr> | 
					
						
							|  |  |  |     {% empty %} | 
					
						
							|  |  |  |       <li>{% trans "No slots in session." %}</li> | 
					
						
							|  |  |  |     {% endfor %} | 
					
						
							|  |  |  |   </table> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% endblock %} |