Display (editably) the exclusvity of the slot in the admin
(Also add filtering so that we can easily find eg all plenaries which are not yet flagged as exclusive)
This commit is contained in:
		
							parent
							
								
									6b17e021ca
								
							
						
					
					
						commit
						e48c8c171a
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		
							
								
								
									
										5
									
								
								vendor/symposion/schedule/admin.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/symposion/schedule/admin.py
									
										
									
									
										vendored
									
									
								
							|  | @ -23,8 +23,9 @@ class SlotRoomInline(admin.TabularInline): | |||
| 
 | ||||
| 
 | ||||
| class SlotAdmin(admin.ModelAdmin): | ||||
|     list_filter = ("day", "kind") | ||||
|     list_display = ("day", "start", "end", "kind", "content_override") | ||||
|     list_filter = ("day", "kind","exclusive") | ||||
|     list_display = ("day", "start", "end", "kind", "content_override","exclusive") | ||||
|     list_editable = ("exclusive",) | ||||
|     inlines = [SlotRoomInline] | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Polley
						James Polley