2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% load lca2018_tags %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% load lca2019_tags %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% load waffle_tags %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{% with timetable|day_has_tracks:timetable.day as has_tracks %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% for row in timetable %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% for slot in row.slots %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-20 23:16:29 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								<div class="mobile-slot my-3">
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% if forloop.first %}
							 | 
						
					
						
							
								
									
										
										
										
											2018-12-08 19:27:02 +13:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <h3>{{ row.time|date:"h:iA" }}–{{ row.end|date:"h:iA" }}</h3>
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% with slot.kind.label.lower as label %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% if label == "talk" or label == "tutorial" %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-17 22:40:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% if slot.content.unpublish and not request.user.is_staff %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <p><em>To be announced</em></p>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {% elif slot.content %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <p>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <a href="{% url "schedule_presentation_detail" slot.content.pk %}">{{ slot.content.title }}</a>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <br>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      {{ slot.content.speakers|join:", "}}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </p>
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-17 22:40:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% if slot.content.unpublish %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <span class="badge badge-pill badge-warning">Unpublished</span>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {% endif %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% endif %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:45:00 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  {% elif label == "shortbreak" %}
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% else %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:45:00 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% if slot.content_override %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      {{ slot.content_override_html|safe }}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% else %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:45:00 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <div class="d-flex align-items-center">
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      <p>{{ slot.kind.label }}</p>
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:45:00 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    </div>
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% endif %}
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% endwith %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:45:00 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <p><em>
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 20:56:54 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% if has_tracks and not slot.exclusive %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {% with slot.rooms.0|trackname:timetable.day as track_name %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {% if track_name %}{{ track_name }} — {% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {% endwith %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {{ slot.rooms|join:", "}}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <br />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ends {{ slot.end }}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  </em></p>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:45:00 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  {% if edit_schedule %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  <a class="btn btn-secondary btn-sm edit-slot" role="button" data-action="{% url "schedule_slot_edit" schedule.section.slug slot.pk %}" href="#">Edit</a>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  {% endif %}
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% endfor %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{% if forloop.last %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<div class="mobile-slot my-3">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  <h3>{{ row.time|date:"h:iA" }}</h3>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  <p><em>Day End</em></p>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</div>
							 | 
						
					
						
							
								
									
										
										
										
											2018-10-06 13:01:42 +13:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% endfor %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-12-15 14:46:11 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% endwith %}
							 |