Progress on bugfixes and Minetest interfaces, but processes are still not completing
This commit is contained in:
@@ -78,6 +78,12 @@ function modpol.interactions.org_dashboard(user, org_name)
|
||||
active = '*'
|
||||
end
|
||||
end
|
||||
local req_str = "[" .. v.id .. "] " ..
|
||||
active .. this_request.type
|
||||
if this_request.params[1] then
|
||||
req_str = req_str ": " ..
|
||||
table.concat(this_request.params, ", ")
|
||||
end
|
||||
local req_str = v.id .. " (" .. this_request.type .. " -> " .. table.concat(this_request.params, ", ") .. ")" .. active
|
||||
table.insert(processes, req_str)
|
||||
end
|
||||
@@ -95,6 +101,13 @@ function modpol.interactions.org_dashboard(user, org_name)
|
||||
process:interact(user)
|
||||
end
|
||||
|
||||
-- Function: modpol.interactions.policy_dashboard
|
||||
-- input: user (string), org_id (int), policy (string)
|
||||
-- if policy is nil, enables creating a new policy
|
||||
-- output: opens a dashboard for viewing/editing policy details
|
||||
-- TODO
|
||||
|
||||
|
||||
-- Function: modpol.interactions.message
|
||||
-- input: user (string), message (string)
|
||||
-- output: prints message to CLI
|
||||
|
||||
Reference in New Issue
Block a user