| 
									
										
										
										
											2012-08-30 12:26:41 -04:00
										 |  |  | <table class="table table-bordered table-condensed"> | 
					
						
							| 
									
										
										
										
											2012-08-30 03:14:46 -04:00
										 |  |  |     <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 %} | 
					
						
							| 
									
										
										
										
											2012-08-30 22:31:59 -04:00
										 |  |  |                 <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slow.rowspan }}"> | 
					
						
							| 
									
										
										
										
											2012-08-30 22:26:37 -04:00
										 |  |  |                     {% if slot.kind.label == "talk" %} | 
					
						
							| 
									
										
										
										
											2012-08-31 00:57:25 -04:00
										 |  |  |                         {% 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" onClick="modalEdit({% url schedule_slot_edit slot.pk %})" href="#">Edit</a> | 
					
						
							|  |  |  |                             </span> | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							| 
									
										
										
										
											2012-08-30 03:14:46 -04:00
										 |  |  |                     {% else %} | 
					
						
							| 
									
										
										
										
											2012-08-30 22:26:37 -04:00
										 |  |  |                         {{ slot.kind.label }} | 
					
						
							| 
									
										
										
										
											2012-08-30 03:14:46 -04:00
										 |  |  |                     {% endif %} | 
					
						
							|  |  |  |                 </td> | 
					
						
							|  |  |  |             {% endfor %} | 
					
						
							|  |  |  |         </tr> | 
					
						
							|  |  |  |     {% endfor %} | 
					
						
							|  |  |  | </table> |