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