| 
									
										
										
										
											2018-01-12 14:55:42 +11:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-27 23:46:13 +10:00
										 |  |  | {% load lca2018_tags %} | 
					
						
							| 
									
										
										
										
											2018-01-11 02:45:43 +11:00
										 |  |  | {% load waffle_tags %} | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | <table class="calendar table table-bordered"> | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |   <thead> | 
					
						
							|  |  |  |     <tr> | 
					
						
							|  |  |  |       <th class="time"> </th> | 
					
						
							|  |  |  |         {% for room in timetable.rooms %} | 
					
						
							|  |  |  |           <th>{{ room.name }}</th> | 
					
						
							|  |  |  |           {% endfor %} | 
					
						
							|  |  |  |     </tr> | 
					
						
							| 
									
										
										
										
											2017-12-03 15:23:46 +11:00
										 |  |  |     {% with timetable|day_has_tracks:timetable.day as has_tracks %} | 
					
						
							|  |  |  |       {% if has_tracks %} | 
					
						
							|  |  |  |         <tr> | 
					
						
							|  |  |  |           <th class="time"> </th> | 
					
						
							|  |  |  |           {% for room in timetable.rooms %} | 
					
						
							|  |  |  |             {% with room|trackname:timetable.day as track_name %} | 
					
						
							|  |  |  |               <th class="track-name">{% if track_name %}<p>{{ track_name }}{% endif %}</th> | 
					
						
							| 
									
										
										
										
											2018-01-24 15:26:12 +11:00
										 |  |  |             {% endwith %} | 
					
						
							| 
									
										
										
										
											2017-12-03 15:23:46 +11:00
										 |  |  |           {% endfor %} | 
					
						
							|  |  |  |         </tr> | 
					
						
							|  |  |  |       {% endif %} | 
					
						
							|  |  |  |     {% endwith %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |   </thead> | 
					
						
							|  |  |  |   <tbody> | 
					
						
							|  |  |  |     {% for row in timetable %} | 
					
						
							|  |  |  |       <tr> | 
					
						
							| 
									
										
										
										
											2016-12-10 17:11:40 +11:00
										 |  |  |         <td class="time"><h4>{{ row.time|date:"h:iA" }}</h4></td> | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |         {% for slot in row.slots %} | 
					
						
							|  |  |  |           <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slot.rowspan }}"> | 
					
						
							|  |  |  |             {% if slot.kind.label == "talk" or slot.kind.label == "tutorial" %} | 
					
						
							|  |  |  |               {% if not slot.content %} | 
					
						
							|  |  |  |               {% else %} | 
					
						
							|  |  |  |                 <span class="title"> | 
					
						
							|  |  |  |                   <a href="{% url "schedule_presentation_detail" slot.content.pk %}">{{ slot.content.title }}</a> | 
					
						
							|  |  |  |                 </span> | 
					
						
							|  |  |  |                 <span class="speaker"> | 
					
						
							|  |  |  |                   {{ slot.content.speakers|join:", " }} | 
					
						
							|  |  |  |                 </span> | 
					
						
							| 
									
										
										
										
											2018-01-11 02:45:43 +11:00
										 |  |  |                 {% flag "session_chair" %} | 
					
						
							|  |  |  |                   {% if slot.sessions %} | 
					
						
							|  |  |  |                     <div> | 
					
						
							|  |  |  |                       {% for session in slot.sessions.all %} | 
					
						
							| 
									
										
										
										
											2018-01-12 14:55:42 +11:00
										 |  |  |                         <em>Session chair: | 
					
						
							| 
									
										
										
										
											2018-01-11 02:45:43 +11:00
										 |  |  |                         {% if not session.chair %} | 
					
						
							|  |  |  |                           <a href="{% url "schedule_session_detail" session.id %}">Volunteer! 🙋</a> | 
					
						
							| 
									
										
										
										
											2018-01-24 15:26:12 +11:00
										 |  |  |                         {% else %} | 
					
						
							|  |  |  |                           <a href="{% url "schedule_session_detail" session.id %}">{{ session.chair.user.attendee.attendeeprofilebase.attendeeprofile.name }}</a> | 
					
						
							| 
									
										
										
										
											2018-01-12 14:55:42 +11:00
										 |  |  |                         {% endif %}</em> | 
					
						
							| 
									
										
										
										
											2018-01-11 02:45:43 +11:00
										 |  |  |                       {% endfor %} | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                   {% endif %} | 
					
						
							|  |  |  |                 {% endflag %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |               {% endif %} | 
					
						
							| 
									
										
										
										
											2016-12-08 19:56:43 +11:00
										 |  |  |             {% elif slot.kind.label == "shortbreak" %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |             {% else %} | 
					
						
							| 
									
										
										
										
											2016-12-10 17:11:40 +11:00
										 |  |  |               {% if slot.content_override %} | 
					
						
							|  |  |  |                 {{ slot.content_override_html|safe }} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |               {% else %} | 
					
						
							|  |  |  |                 {{ slot.kind.label }} | 
					
						
							|  |  |  |               {% endif %} | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							| 
									
										
										
										
											2017-12-24 14:50:59 +11:00
										 |  |  |             {% if "break" in slot.kind.label %} | 
					
						
							|  |  |  |             {% else %} | 
					
						
							|  |  |  |               <span class="room"> | 
					
						
							| 
									
										
										
										
											2018-01-12 14:55:42 +11:00
										 |  |  |                 {{ slot.rooms|join:", "}}<span class="endtime"> ends {{ slot.end|date:"h:iA" }}</span> | 
					
						
							| 
									
										
										
										
											2017-12-24 14:50:59 +11:00
										 |  |  |               </span> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |           </td> | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  |         {% endfor %} | 
					
						
							| 
									
										
										
										
											2016-09-18 20:40:55 +10:00
										 |  |  |         {% if forloop.last %} | 
					
						
							|  |  |  |           <td colspan="{{ timetable.rooms|length }}"></td> | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |       </tr> | 
					
						
							|  |  |  |     {% endfor %} | 
					
						
							|  |  |  |   </tbody> | 
					
						
							| 
									
										
										
										
											2015-10-16 12:53:02 -05:00
										 |  |  | </table> |