include class indicating slot kind

This commit is contained in:
James Tauber 2012-08-30 22:31:59 -04:00
parent b4ec8dc29b
commit 5c1916352c

View file

@ -9,7 +9,7 @@
<tr>
<td class="time">{{ row.time|date:"h:iA" }}</td>
{% for slot in row.slots %}
<td class="slot" colspan="{{ slot.colspan }}" rowspan="{{ slow.rowspan }}">
<td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slow.rowspan }}">
{% if slot.kind.label == "talk" %}
<span class="schedule-controls"><b>add</b>: <a href="{# url schedule_slot_add slot.pk "talk" #}" rel="facebox">talk</a></span>
{% else %}