Files
@ 7b25f5808725
Branch filter:
Location: symposion_app/symposion/templates/schedule/_grid.html - annotation
7b25f5808725
1.3 KiB
text/html
fixed syntax error
38e2124c646e 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 5c1916352cd9 b4ec8dc29bb7 09bce70aed47 09bce70aed47 09bce70aed47 09bce70aed47 09bce70aed47 09bce70aed47 09bce70aed47 79e94d6f5449 09bce70aed47 09bce70aed47 746e34cf3c40 b4ec8dc29bb7 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 746e34cf3c40 | <table class="table table-bordered table-condensed">
<tr>
<th> </th>
{% for room in timetable.rooms %}
<th>{{ room.name }}</th>
{% endfor %}
</tr>
{% 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="{{ slow.rowspan }}">
{% if slot.kind.label == "talk" %}
{% if not slot.presentation %}
<a class="btn btn-mini edit-slot" data-action="{% url schedule_slot_edit slot.pk %}" href="#">+</a>
{% else %}
<div class="title">{{ slot.presentation.title }}</div>
<div class="speaker">{{ slot.presentation.speaker }}</div>
<span class="schedule-controls">
<a class="btn btn-mini edit-slot" data-action="{% url schedule_slot_edit slot.pk %}" href="#">Edit</a>
</span>
{% endif %}
{% else %}
{{ slot.kind.label }}
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</table>
|