From e8f087613781bd99f381e225cd958fb56eb306f4 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sun, 8 Mar 2020 16:11:56 +0800 Subject: [PATCH] luci-app-syncthing: fix typo --- .../luasrc/view/syncthing/syncthing_status.htm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/zxlhhyccc/luci-app-syncthing/luasrc/view/syncthing/syncthing_status.htm b/package/zxlhhyccc/luci-app-syncthing/luasrc/view/syncthing/syncthing_status.htm index 88d615aa40..32d9e6707b 100644 --- a/package/zxlhhyccc/luci-app-syncthing/luasrc/view/syncthing/syncthing_status.htm +++ b/package/zxlhhyccc/luci-app-syncthing/luasrc/view/syncthing/syncthing_status.htm @@ -4,10 +4,10 @@ XHR.poll(1, '<%=url([[admin]], [[nas]], [[syncthing]], [[status]])%>', null, var tb = document.getElementById('syncthing_status'); if (data && tb) { if (data.running) { - var links = '<%:RUNNING%>'; + var links = 'Syncthing <%:RUNNING%>'; tb.innerHTML = links; } else { - tb.innerHTML = '<%:NOT RUNNING%>'; + tb.innerHTML = 'Syncthing <%:NOT RUNNING%>'; } } } @@ -21,6 +21,7 @@ function openClient() { var clientPort = window.document.getElementById("cbid.syncthing.config.port").value var url = "http:" + localhostPath.substring(window.location.protocol.length) + ":" + clientPort; window.open(url) +}; //]]>