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) +}; //]]>