projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a0e33
)
Do not emit static "Status info" text in the Stat widget: leave it to the CSS.
author
Mike Taylor
<mike@indexdata.com>
Fri, 9 May 2014 13:07:33 +0000
(14:07 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 9 May 2014 13:07:33 +0000
(14:07 +0100)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
51bd5c1
..
650ed91
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-40,8
+40,7
@@
mkws.registerWidgetType('Stat', function() {
this.team.queue("stat").subscribe(function(data) {
if (that.node.length === 0) alert("huh?!");
- $(that.node).html('<span class="head">' + M('Status info') + '</span>' +
- ' -- ' +
+ $(that.node).html(' -- ' +
'<span class="mkwsClientCount">' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '</span>' +
' -- ' +
'<span class="records">' + M('Retrieved records') + ': ' + data.records + '/' + data.hits + '</span>');