Move 'Active clients' and 'Retrieved records' from CSS to code, so they can be transl...
authorMike Taylor <mike@indexdata.com>
Thu, 14 Nov 2013 16:59:16 +0000 (16:59 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 14 Nov 2013 16:59:16 +0000 (16:59 +0000)
tools/htdocs/mkws.css
tools/htdocs/mkws.js

index dc78aaa..4cd04c3 100644 (file)
     font-weight: bold;
 }
 
-#mkwsStat span.clients:before {
-    content: "Active clients: ";
-}
-
-#mkwsStat span.records:before {
-    content: "Retrieved records: ";
-}
-
 #mkwsSwitch a,
 #mkwsLang a,
 #mkwsTermlists a,
index 2f62b26..2f3db65 100644 (file)
@@ -231,9 +231,9 @@ function my_onstat(data) {
 
     stat.innerHTML = '<span class="head">Status info</span>' +
        ' -- ' +
-       '<span class="clients">' + data.activeclients + '/' + data.clients + '</span>' +
+       '<span class="clients">Active clients: ' + data.activeclients + '/' + data.clients + '</span>' +
        ' -- ' +
-        '<span class="records">' + data.records + '/' + data.hits + '</span>';
+        '<span class="records">Retrieved records: ' + data.records + '/' + data.hits + '</span>';
 }
 
 function my_onterm(data) {