Merge pull request #6691 from nextcloud/rounding
Use full percentages in quota bar percentages
This commit is contained in:
commit
7a5762f494
|
@ -116,7 +116,7 @@ class PersonalInfo implements ISettings {
|
||||||
$parameters = [
|
$parameters = [
|
||||||
'total_space' => $totalSpace,
|
'total_space' => $totalSpace,
|
||||||
'usage' => \OC_Helper::humanFileSize($storageInfo['used']),
|
'usage' => \OC_Helper::humanFileSize($storageInfo['used']),
|
||||||
'usage_relative' => $storageInfo['relative'],
|
'usage_relative' => round($storageInfo['relative']),
|
||||||
'quota' => $storageInfo['quota'],
|
'quota' => $storageInfo['quota'],
|
||||||
'avatarChangeSupported' => $user->canChangeAvatar(),
|
'avatarChangeSupported' => $user->canChangeAvatar(),
|
||||||
'lookupServerUploadEnabled' => $lookupServerUploadEnabled,
|
'lookupServerUploadEnabled' => $lookupServerUploadEnabled,
|
||||||
|
|
Loading…
Reference in New Issue