cleaned up stats display

pull/306/merge
Justin Richer 2013-03-07 10:47:49 -05:00
parent 8992506a1d
commit 2b45dd1104
1 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
<h2>Current Statistics</h2>
<p>There have been <span class="label label-info">${statsSummary["userCount"]}</span> users of this
system who have logged in to <span class="label label-info">${statsSummary["clientCount"]}</span>
total sites, for a total of <span class="label label-info">${statsSummary["approvalCount"]}</span> site approvals.</p>
<p>There have been
<span class="label label-info">${statsSummary["userCount"]}</span> user${statsSummary["userCount"] == 1 ? "" : "s"}
of this system who have logged in to
<span class="label label-info">${statsSummary["clientCount"]}</span> total site${statsSummary["clientCount"] == 1 ? "" : "s"},
for a total of
<span class="label label-info">${statsSummary["approvalCount"]}</span> site approval${statsSummary["approvalCount"] == 1 ? "" : "s"}.</p>