| 
									
										
										
										
											2017-09-27 23:46:13 +10:00
										 |  |  | {% load lca2018_tags %} | 
					
						
							| 
									
										
										
										
											2018-01-11 02:45:43 +11:00
										 |  |  | {% load waffle_tags %} | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  | <table class="calendar table table-bordered"> | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |   <thead> | 
					
						
							|  |  |  |     <tr> | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  |       <th scope="row" class="time"><em>Room</em></th> | 
					
						
							|  |  |  |       {% for room in timetable.rooms %} | 
					
						
							|  |  |  |       <th scope="column">{{ room.name }}</th> | 
					
						
							|  |  |  |       {% endfor %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |     </tr> | 
					
						
							| 
									
										
										
										
											2017-12-03 15:23:46 +11:00
										 |  |  |     {% with timetable|day_has_tracks:timetable.day as has_tracks %} | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |     {% if has_tracks %} | 
					
						
							|  |  |  |     <tr> | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  |       <th scope="row" class="time"><em>Miniconf</em></th> | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |       {% for room in timetable.rooms %} | 
					
						
							|  |  |  |       {% with room|trackname:timetable.day as track_name %} | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  |       <th scope="column" class="track-name">{% if track_name %}<p>{{ track_name }}</p>{% endif %}</th> | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |       {% endwith %} | 
					
						
							|  |  |  |       {% endfor %} | 
					
						
							|  |  |  |     </tr> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							| 
									
										
										
										
											2017-12-03 15:23:46 +11:00
										 |  |  |     {% endwith %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |   </thead> | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |   <tbody> | 
					
						
							|  |  |  |     {% for row in timetable %} | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |     <tr class="calendar-row"> | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  |       <th scope="row" class="time"><p>{{ row.time|date:"h:iA" }}</p></th> | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |       {% for slot in row.slots %} | 
					
						
							|  |  |  |       <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{% if slot.rowspan > 1%}{{ slot.rowspan|add:-1 }}{% else %}1{% endif %}" > | 
					
						
							|  |  |  |         {% with slot.kind.label.lower as label %} | 
					
						
							|  |  |  |         {% if label == "talk" or label == "tutorial" %} | 
					
						
							|  |  |  |         {% if slot.content %} | 
					
						
							|  |  |  |         <div> | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  |           <p> | 
					
						
							|  |  |  |             <a href="{% url "schedule_presentation_detail" slot.content.pk %}">{{ slot.content.title }}</a> | 
					
						
							|  |  |  |             <br /> | 
					
						
							|  |  |  |             {{ slot.content.speakers|join:", " }} | 
					
						
							|  |  |  |           </p> | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |         </div> | 
					
						
							|  |  |  |         {% flag "session_chair" %} | 
					
						
							|  |  |  |         {% if slot.sessions %} | 
					
						
							|  |  |  |         <div> | 
					
						
							|  |  |  |           {% for session in slot.sessions.all %} | 
					
						
							|  |  |  |           <em>Session chair: | 
					
						
							|  |  |  |             {% if not session.chair %} | 
					
						
							|  |  |  |             <a href="{% url "schedule_session_detail" session.id %}">Volunteer! 🙋</a> | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |             {% else %} | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |             <a href="{% url "schedule_session_detail" session.id %}">{{ session.chair.user.attendee.attendeeprofilebase.attendeeprofile.name }}</a> | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |             {% endif %} | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |           </em> | 
					
						
							|  |  |  |           {% endfor %} | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |         {% endflag %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |         {% endif %} | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |         {% elif label == "shortbreak" %} | 
					
						
							|  |  |  |         {% else %} | 
					
						
							|  |  |  |         {% if slot.content_override %} | 
					
						
							|  |  |  |         {{ slot.content_override_html|safe }} | 
					
						
							|  |  |  |         {% else %} | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  |         <div class="d-flex align-items-center"> | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |           <p>{{ slot.kind.label }}</p> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |         {% endwith %} | 
					
						
							|  |  |  |       </td> | 
					
						
							|  |  |  |       {% endfor %} | 
					
						
							| 
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 |  |  |       {% if forloop.last %} | 
					
						
							|  |  |  |       <td colspan="{{ timetable.rooms|length }}"><em>Day End</em></td> | 
					
						
							|  |  |  |       {% endif %} | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  |     </tr> | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |     {% endfor %} | 
					
						
							|  |  |  |   </tbody> | 
					
						
							| 
									
										
										
										
											2018-09-29 10:42:27 +12:00
										 |  |  | </table> |