fix rowspan in schedule templates
This commit is contained in:
		
							parent
							
								
									5a5c30e701
								
							
						
					
					
						commit
						d708b5539e
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -9,7 +9,7 @@ | ||||||
|         <tr> |         <tr> | ||||||
|             <td class="time">{{ row.time|date:"h:iA" }}</td> |             <td class="time">{{ row.time|date:"h:iA" }}</td> | ||||||
|             {% for slot in row.slots %} |             {% for slot in row.slots %} | ||||||
|                 <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slow.rowspan }}"> |                 <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slot.rowspan }}"> | ||||||
|                     {% if slot.kind.label == "talk" %} |                     {% if slot.kind.label == "talk" %} | ||||||
|                         {% if not slot.content %} |                         {% if not slot.content %} | ||||||
|                             <a class="btn btn-mini edit-slot" data-action="{% url schedule_slot_edit schedule.section.slug slot.pk %}" href="#">+</a> |                             <a class="btn btn-mini edit-slot" data-action="{% url schedule_slot_edit schedule.section.slug slot.pk %}" href="#">+</a> | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ | ||||||
|         <tr> |         <tr> | ||||||
|             <td class="time">{{ row.time|date:"h:iA" }}</td> |             <td class="time">{{ row.time|date:"h:iA" }}</td> | ||||||
|             {% for slot in row.slots %} |             {% for slot in row.slots %} | ||||||
|                 <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slow.rowspan }}"> |                 <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slot.rowspan }}"> | ||||||
|                     {% if slot.kind.label == "talk" %} |                     {% if slot.kind.label == "talk" %} | ||||||
|                         {% if not slot.content %} |                         {% if not slot.content %} | ||||||
|                         {% else %} |                         {% else %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Luke Hatcher
						Luke Hatcher