Make datasync changes bulk-deletable
This commit is contained in:
		
							parent
							
								
									941ce1a9cb
								
							
						
					
					
						commit
						f476c696fd
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -17,6 +17,7 @@
 | 
				
			||||||
</%def>
 | 
					</%def>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<%def name="grid_tools()">
 | 
					<%def name="grid_tools()">
 | 
				
			||||||
 | 
					  ${parent.grid_tools()}
 | 
				
			||||||
  ${h.form(url('datasync.restart'), name='restart-datasync')}
 | 
					  ${h.form(url('datasync.restart'), name='restart-datasync')}
 | 
				
			||||||
  ${h.csrf_token(request)}
 | 
					  ${h.csrf_token(request)}
 | 
				
			||||||
  <button type="submit">Restart DataSync</button>
 | 
					  <button type="submit">Restart DataSync</button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,6 +47,7 @@ class DataSyncChangesView(MasterView):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    creatable = False
 | 
					    creatable = False
 | 
				
			||||||
    editable = False
 | 
					    editable = False
 | 
				
			||||||
 | 
					    bulk_deletable = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    grid_columns = [
 | 
					    grid_columns = [
 | 
				
			||||||
        'source',
 | 
					        'source',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue