Skip to content
Snippets Groups Projects
Commit 130c9cad authored by Thomas Müller's avatar Thomas Müller
Browse files

relative storage info without decimals

parent b7d3bf5f
No related branches found
No related tags found
No related merge requests found
......@@ -111,5 +111,5 @@ $tmpl->assign('files', $files);
$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$tmpl->assign('usedSpacePercent', $storageInfo['relative']);
$tmpl->assign('usedSpacePercent', (int)$storageInfo['relative']);
$tmpl->printPage();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment