Adjust tracks on mobile schedule
Only display track if slot is not exclusive. Always use the first room assisgned to the slot to determine the track name.
This commit is contained in:
		
							parent
							
								
									40f3169aba
								
							
						
					
					
						commit
						bc6e0d7675
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -33,8 +33,8 @@ | |||
|   {% endwith %} | ||||
| 
 | ||||
|   <p><em> | ||||
|     {% if has_tracks %} | ||||
|     {% with slot.rooms|listlookup:forloop.counter0|trackname:timetable.day as track_name %} | ||||
|     {% if has_tracks and not slot.exclusive %} | ||||
|     {% with slot.rooms.0|trackname:timetable.day as track_name %} | ||||
|     {% if track_name %}{{ track_name }} — {% endif %} | ||||
|     {% endwith %} | ||||
|     {% endif %} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joel Addison
						Joel Addison