Fix plural titles for Tempmon model views
This commit is contained in:
		
							parent
							
								
									ede7869a22
								
							
						
					
					
						commit
						a0408e87f9
					
				
					 3 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -65,6 +65,7 @@ class TempmonClientView(MasterView):
 | 
			
		|||
    """
 | 
			
		||||
    model_class = tempmon.Client
 | 
			
		||||
    model_title = "TempMon Client"
 | 
			
		||||
    model_title_plural = "TempMon Clients"
 | 
			
		||||
    route_prefix = 'tempmon.clients'
 | 
			
		||||
    url_prefix = '/tempmon/clients'
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -51,6 +51,7 @@ class TempmonProbeView(MasterView):
 | 
			
		|||
    """
 | 
			
		||||
    model_class = tempmon.Probe
 | 
			
		||||
    model_title = "TempMon Probe"
 | 
			
		||||
    model_title_plural = "TempMon Probes"
 | 
			
		||||
    route_prefix = 'tempmon.probes'
 | 
			
		||||
    url_prefix = '/tempmon/probes'
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,6 +37,7 @@ class TempmonReadingView(MasterView):
 | 
			
		|||
    """
 | 
			
		||||
    model_class = tempmon.Reading
 | 
			
		||||
    model_title = "TempMon Reading"
 | 
			
		||||
    model_title_plural = "TempMon Readings"
 | 
			
		||||
    route_prefix = 'tempmon.readings'
 | 
			
		||||
    url_prefix = '/tempmon/readings'
 | 
			
		||||
    creatable = False
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue