From 2b45dd1104e9ab9ce041097cc606ef4f47d7e75e Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Thu, 7 Mar 2013 10:47:49 -0500 Subject: [PATCH] cleaned up stats display --- .../src/main/webapp/WEB-INF/tags/statsContent.tag | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openid-connect-server/src/main/webapp/WEB-INF/tags/statsContent.tag b/openid-connect-server/src/main/webapp/WEB-INF/tags/statsContent.tag index d735a9213..14f96bb9b 100644 --- a/openid-connect-server/src/main/webapp/WEB-INF/tags/statsContent.tag +++ b/openid-connect-server/src/main/webapp/WEB-INF/tags/statsContent.tag @@ -1,5 +1,8 @@

Current Statistics

-

There have been ${statsSummary["userCount"]} users of this - system who have logged in to ${statsSummary["clientCount"]} - total sites, for a total of ${statsSummary["approvalCount"]} site approvals.

\ No newline at end of file +

There have been + ${statsSummary["userCount"]} user${statsSummary["userCount"] == 1 ? "" : "s"} + of this system who have logged in to + ${statsSummary["clientCount"]} total site${statsSummary["clientCount"] == 1 ? "" : "s"}, + for a total of + ${statsSummary["approvalCount"]} site approval${statsSummary["approvalCount"] == 1 ? "" : "s"}.

\ No newline at end of file