relative storage info without decimals

remotes/origin/stable5
Thomas Mueller 12 years ago
parent b7d3bf5f81
commit 130c9cad03
  1. 2
      apps/files/index.php

@ -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();

Loading…
Cancel
Save