diff --git a/tailbone/views/tempmon/clients.py b/tailbone/views/tempmon/clients.py index eda6f5f4..59cc4fdf 100644 --- a/tailbone/views/tempmon/clients.py +++ b/tailbone/views/tempmon/clients.py @@ -64,6 +64,7 @@ class TempmonClientView(MasterView): 'location', 'delay', 'probes', + 'notes', 'enabled', 'online', 'archived', @@ -100,6 +101,9 @@ class TempmonClientView(MasterView): # probes f.set_renderer('probes', self.render_probes) + # notes + f.set_type('notes', 'text') + if self.creating or self.editing: f.remove_fields('probes', 'online') diff --git a/tailbone/views/tempmon/probes.py b/tailbone/views/tempmon/probes.py index 48176900..dda7192f 100644 --- a/tailbone/views/tempmon/probes.py +++ b/tailbone/views/tempmon/probes.py @@ -69,6 +69,7 @@ class TempmonProbeView(MasterView): 'critical_temp_max', 'therm_status_timeout', 'status_alert_timeout', + 'notes', 'enabled', 'status', ] @@ -112,6 +113,9 @@ class TempmonProbeView(MasterView): # appliance_type f.set_enum('appliance_type', self.enum.TEMPMON_APPLIANCE_TYPE) + # notes + f.set_type('notes', 'text') + # status f.set_enum('status', self.enum.TEMPMON_PROBE_STATUS) if self.creating or self.editing: