summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
index e4c0a7cebe..1c2aa46c52 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
@@ -121,6 +121,13 @@ return view.extend({
o = s.taboption('general', form.Value, 'hostname', _('Hostname'));
o.datatype = 'hostname';
+ /* could be used also as a default for LLDP, SNMP "system description" in the future */
+ o = s.taboption('general', form.Value, 'description', _('Description'), _('An optional, short description for this device'));
+ o.optional = true;
+
+ o = s.taboption('general', form.TextValue, 'notes', _('Notes'), _('Optional, free-form notes about this device'));
+ o.optional = true;
+
o = s.taboption('general', form.ListValue, 'zonename', _('Timezone'));
o.value('UTC');