summaryrefslogtreecommitdiffstats
path: root/provisioning-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'provisioning-model.lua')
-rw-r--r--provisioning-model.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/provisioning-model.lua b/provisioning-model.lua
index 0408dc9..ee13fb8 100644
--- a/provisioning-model.lua
+++ b/provisioning-model.lua
@@ -524,7 +524,7 @@ mymodule.list_templates = function()
end
end
- return cfe({ type="structure", value=retval, label="List of Templates", errtxt=errtxt })
+ return cfe({ type="structure", value=retval, label="Templates", errtxt=errtxt })
end
mymodule.get_template = function(self, clientdata)
@@ -675,7 +675,7 @@ mymodule.list_class_groups = function()
errtxt = err
end
- return cfe({ type="structure", value=retval, label="List of Class Groups", errtxt=errtxt })
+ return cfe({ type="structure", value=retval, label="Class Groups", errtxt=errtxt })
end
mymodule.get_class_group = function(self, clientdata)
@@ -828,7 +828,7 @@ mymodule.list_classes = function()
errtxt = err
end
- return cfe({ type="structure", value=retval, label="List of Classes", errtxt=errtxt })
+ return cfe({ type="structure", value=retval, label="Classes", errtxt=errtxt })
end
mymodule.get_class = function(self, clientdata)
@@ -1021,7 +1021,7 @@ mymodule.list_groups = function()
errtxt = err
end
- return cfe({ type="structure", value=retval, label="List of Parameter Groups", errtxt=errtxt })
+ return cfe({ type="structure", value=retval, label="Parameter Groups", errtxt=errtxt })
end
mymodule.get_group = function(self, clientdata)
@@ -1263,7 +1263,7 @@ mymodule.list_params = function()
errtxt = err
end
- return cfe({ type="structure", value=retval, label="List of Parameters", errtxt=errtxt })
+ return cfe({ type="structure", value=retval, label="Parameters", errtxt=errtxt })
end
mymodule.get_param = function(self, clientdata)
@@ -1460,7 +1460,7 @@ mymodule.list_devices = function()
errtxt = err
end
- return cfe({ type="structure", value=retval, label="List of Devices", errtxt=errtxt })
+ return cfe({ type="structure", value=retval, label="Devices", errtxt=errtxt })
end
mymodule.get_existing_device = function(self, clientdata)
@@ -1732,7 +1732,7 @@ mymodule.search_device_values = function(self, search)
end
end
if success then
- retval.result = cfe({type="structure", value={}, label="List of Devices", seq=4 })
+ retval.result = cfe({type="structure", value={}, label="Devices", seq=4 })
local res, err = pcall(function()
local connected = databaseconnect()
-- Get the devices from the DB
@@ -1867,7 +1867,7 @@ function mymodule.list_files()
table.insert(retval, details)
end
table.sort(retval, function(a,b) return a.filename < b.filename end)
- return cfe({ type="structure", value=retval, label="List of Provisioning Script files" })
+ return cfe({ type="structure", value=retval, label="Provisioning Script Files" })
end
function mymodule.get_database()
@@ -2059,7 +2059,7 @@ mymodule.list_requests = function()
errtxt = err
end
- return cfe({ type="structure", value=retval, label="List of Requests", errtxt=errtxt })
+ return cfe({ type="structure", value=retval, label="Requests", errtxt=errtxt })
end
mymodule.get_delete_request = function(self, clientdata)