From: Mike Taylor Date: Thu, 14 Nov 2013 16:59:16 +0000 (+0000) Subject: Move 'Active clients' and 'Retrieved records' from CSS to code, so they can be transl... X-Git-Tag: 0.9.1~148^2~84 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=f7711bc36968bd87ede351dee9993cbbb47795f8;p=mkws-moved-to-github.git Move 'Active clients' and 'Retrieved records' from CSS to code, so they can be translated in the mkws_config object --- diff --git a/tools/htdocs/mkws.css b/tools/htdocs/mkws.css index dc78aaa..4cd04c3 100644 --- a/tools/htdocs/mkws.css +++ b/tools/htdocs/mkws.css @@ -53,14 +53,6 @@ font-weight: bold; } -#mkwsStat span.clients:before { - content: "Active clients: "; -} - -#mkwsStat span.records:before { - content: "Retrieved records: "; -} - #mkwsSwitch a, #mkwsLang a, #mkwsTermlists a, diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 2f62b26..2f3db65 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -231,9 +231,9 @@ function my_onstat(data) { stat.innerHTML = 'Status info' + ' -- ' + - '' + data.activeclients + '/' + data.clients + '' + + 'Active clients: ' + data.activeclients + '/' + data.clients + '' + ' -- ' + - '' + data.records + '/' + data.hits + ''; + 'Retrieved records: ' + data.records + '/' + data.hits + ''; } function my_onterm(data) {