Fix plural titles for Tempmon model views

This commit is contained in:
Lance Edgar 2016-12-10 12:06:49 -06:00
parent ede7869a22
commit a0408e87f9
3 changed files with 3 additions and 0 deletions

View file

@ -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'

View file

@ -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'

View file

@ -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