aboutsummaryrefslogtreecommitdiff
path: root/www/status.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-11-11 21:26:34 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-11-11 21:27:02 +0100
commitf2b3557f358efc5b6363b1f8e4b0c30e93945feb (patch)
tree0e6201db8753e4ee60f41022d84065c37bef2252 /www/status.php
parentcb577b3170e2d6e5c44aa29c37ab5d9751a66636 (diff)
downloadphinde-f2b3557f358efc5b6363b1f8e4b0c30e93945feb.tar.gz
phinde-f2b3557f358efc5b6363b1f8e4b0c30e93945feb.zip
format document number on status page
Diffstat (limited to 'www/status.php')
-rw-r--r--www/status.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/status.php b/www/status.php
index 08e2a0d..4118c9c 100644
--- a/www/status.php
+++ b/www/status.php
@@ -19,7 +19,10 @@ function human_filesize($bytes, $decimals = 2)
. ' ' . @$size[$factor];
}
-$esStatus['size_human'] = human_filesize($esStatus['size']);
+$esStatus['size_human'] = human_filesize($esStatus['size']);
+$esStatus['documents_human'] = number_format(
+ $esStatus['documents'], 0, '.', ' '
+);
render(
'status',