Update 'luasrc/controller/nextcloud.lua'

main
ben 1 year ago
parent 51fb6cf8b0
commit ee6a72e427

@ -2,14 +2,14 @@
module("luci.controller.nextcloud", package.seeall)
function index()
entry({"admin", "apps"}, firstchild(), _("Apps") , 45).dependent = false
entry({"admin", "nas"}, firstchild(), _("Nas") , 45).dependent = false
if not nixio.fs.access("/etc/config/nextcloud") then
return
end
local page = entry({"admin", "apps", "nextcloud"}, cbi("nextcloud"), _("Nextcloud"))
local page = entry({"admin", "nas", "nextcloud"}, cbi("nextcloud"), _("Nextcloud"))
page.order = 10
page.dependent = true
page.acl_depends = { "luci-app-nextcloud" }
entry({"admin","apps","nextcloud","status"},call("act_status")).leaf=true
entry({"admin","nas","nextcloud","status"},call("act_status")).leaf=true
end

Loading…
Cancel
Save