summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-04-08 14:54:51 +0200
committerFlorian Eckert <fe@dev.tdt.de>2021-04-08 16:25:06 +0200
commitec564ddf6b0858a04699716eb68a8f91dba27f67 (patch)
tree2a4730aede3f286aab412cd00637cba3a618cda5 /applications/luci-app-dockerman/luasrc/model/cbi
parenta9fe74d8fb7d599a00cf5dd64c736721f0698bf7 (diff)
luci-app-dockerman: set examle registry url as placeholder
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
index 85fbe8e9c0..5fe6b2b3ec 100644
--- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
+++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
@@ -122,8 +122,9 @@ if nixio.fs.access("/usr/bin/dockerd") then
o:depends("remote_endpoint", 0)
o = s:option(DynamicList, "registry_mirrors",
- translate("Registry Mirrors"))
- o:value("https://hub-mirror.c.163.com", "https://hub-mirror.c.163.com")
+ translate("Registry Mirrors"),
+ translate("It replaces the daemon registry mirrors with a new set of registry mirrors"))
+ o.placeholder = translate("Example: https://hub-mirror.c.163.com")
o:depends("remote_endpoint", 0)
o = s:option(ListValue, "log_level",