Merge pull request #3816 from joweisberg/master
luci-app-samba: Fix path url link to mounts
This commit is contained in:
commit
e7d935dd39
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ h = s:taboption("general", Flag, "homes", translate("Share home-directories"),
|
||||||
h.rmempty = false
|
h.rmempty = false
|
||||||
|
|
||||||
tmpl = s:taboption("template", Value, "_tmpl",
|
tmpl = s:taboption("template", Value, "_tmpl",
|
||||||
translate("Edit the template that is used for generating the samba configuration."),
|
translate("Edit the template that is used for generating the samba configuration."),
|
||||||
translate("This is the content of the file '/etc/samba/smb.conf.template' from which your samba configuration will be generated. " ..
|
translate("This is the content of the file '/etc/samba/smb.conf.template' from which your samba configuration will be generated. " ..
|
||||||
"Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab."))
|
"Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab."))
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ s.template = "cbi/tblsection"
|
||||||
s:option(Value, "name", translate("Name"))
|
s:option(Value, "name", translate("Name"))
|
||||||
pth = s:option(Value, "path", translate("Path"))
|
pth = s:option(Value, "path", translate("Path"))
|
||||||
if nixio.fs.access("/etc/config/fstab") then
|
if nixio.fs.access("/etc/config/fstab") then
|
||||||
pth.titleref = luci.dispatcher.build_url("admin", "system", "fstab")
|
pth.titleref = luci.dispatcher.build_url("admin", "system", "mounts")
|
||||||
end
|
end
|
||||||
|
|
||||||
s:option(Value, "users", translate("Allowed users")).rmempty = true
|
s:option(Value, "users", translate("Allowed users")).rmempty = true
|
||||||
|
|
Loading…
Reference in a new issue