Update 'luasrc/model/cbi/joplin.lua'

main
ben 1 year ago
parent 9f812506ce
commit eaaa1d7fca

@ -7,7 +7,7 @@ local joplin_model = require "luci.model.joplin"
local m, s, o
m = taskd.docker_map("joplin", "joplin", "/usr/libexec/apps/joplin/joplin.sh",
translate("joplin"),
translate("Joplin"),
translate("Joplin Server can run in a Docker container on your server or anywhere you want to run it with Docker. Joplin Server will allow you to sync notes from the desktop application and mobile phone applications so you can view, edit or add notes anywhere on the go.")
.. translate("Official website:") .. ' <a href=\"https://hub.docker.com/r/florider89/joplin-server/\" target=\"_blank\">https://hub.docker.com/r/florider89/joplin-server/</a>')
@ -35,8 +35,8 @@ local home = joplin_model.home()
o = s:option(Value, "config_path", translate("Config path").."<b>*</b>")
o.rmempty = false
o.datatype = "string"
o:value("/opt/docker2/compose/Config", "/opt/docker2/compose/Config")
o.default = "/opt/docker2/compose/Config"
o:value("/opt/docker2/compose/joplin", "/opt/docker2/compose/joplin")
o.default = "/opt/docker2/compose/joplin"
local paths, default_path = joplin_model.find_paths(blocks, home, "Configs")
for _, val in pairs(paths) do

Loading…
Cancel
Save