Update to Bootstrap 4 throughout. Remove unused blocks and elements from past conferences. Ensure schedule works in print mode.
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			843 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			843 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load lca2018_tags %}
 | 
						|
{% load lca2019_tags %}
 | 
						|
{% load waffle_tags %}
 | 
						|
 | 
						|
 | 
						|
{% for row in timetable %}
 | 
						|
{% if forloop.last %}
 | 
						|
{% else %}
 | 
						|
{% for slot in row.slots %}
 | 
						|
<div class="mobile-slot my-3">
 | 
						|
  {% if forloop.first %}
 | 
						|
    <h3>{{ row.time|date:"h:iA" }}–{{ row.end|date:"h:iA" }}</h3>
 | 
						|
  {% endif %}
 | 
						|
  {% with slot.kind.label.lower as label %}
 | 
						|
  {% if label == "talk" or label == "tutorial" %}
 | 
						|
  {% if slot.content %}
 | 
						|
  <p>
 | 
						|
    <a href="{% url "schedule_presentation_detail" slot.content.pk %}">{{ slot.content.title }}</a>
 | 
						|
    <br>
 | 
						|
    {{ slot.content.speakers|join:", "}}
 | 
						|
  </p>
 | 
						|
  {% listlookup timetable.rooms forloop.counter0 as room_names %}
 | 
						|
  <p><em>{{ room_names }}<br />ends {{ slot.end }}</em></p>
 | 
						|
  {% endif %}
 | 
						|
  {% else %}
 | 
						|
  <p>{{ slot.kind.label }}</p>
 | 
						|
  {% endif %}
 | 
						|
  {% endwith %}
 | 
						|
</div>
 | 
						|
{% endfor %}
 | 
						|
{% endif %}
 | 
						|
{% endfor %}
 |