Files
@ 94a8a4bbac83
Branch filter:
Location: symposion_app/symposion/templates/schedule/_grid.html - annotation
94a8a4bbac83
1.7 KiB
text/html
Merge pull request #67 from codersquid/newdocs
A start at updating the documentation
A start at updating the documentation
50fa63212761 50fa63212761 746e34cf3c40 50fa63212761 50fa63212761 50fa63212761 746e34cf3c40 746e34cf3c40 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 fc4b1c454267 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 50fa63212761 | <table class="calendar table table-bordered">
<thead>
<tr>
<th class="time"> </th>
{% for room in timetable.rooms %}
<th>{{ room.name }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in timetable %}
<tr>
<td class="time">{{ row.time|date:"h:iA" }}</td>
{% 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>
{% endif %}
{% else %}
{% if slot.content_override.raw %}
{{ slot.content_override.rendered|safe }}
{% else %}
{{ slot.kind.label }}
{% endif %}
{% endif %}
</td>
{% endfor %}
{% if forloop.last %}
<td colspan="{{ timetable.rooms|length }}"></td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
|