From ec564ddf6b0858a04699716eb68a8f91dba27f67 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 8 Apr 2021 14:54:51 +0200 Subject: [PATCH] luci-app-dockerman: set examle registry url as placeholder Signed-off-by: Florian Eckert --- .../luasrc/model/cbi/dockerman/overview.lua | 5 +++-- 1 file 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", -- 2.30.2