1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

show quota in deparment page

This commit is contained in:
LeoSirius
2019-06-27 18:38:23 +08:00
parent 9185d675bd
commit 4beb2eea16
3 changed files with 9 additions and 1 deletions

View File

@@ -388,7 +388,10 @@ class GroupView extends React.Component {
<span className="path-split">/</span>
<span>{currentGroup.name}</span>
{currentGroup.parent_group_id !== 0 && (
<span className="department-group-icon fas fa-building" title={gettext('This is a special group representing a department.')}></span>
<Fragment>
<span className="department-group-icon fas fa-building" title={gettext('This is a special group representing a department.')}></span>
<span>{' '}{''}{gettext('Used:')}{' '}{Utils.bytesToSize(currentGroup.group_quota_usage)}{'/'}{Utils.bytesToSize(currentGroup.group_quota)}{''}</span>
</Fragment>
)}
</div>
<div className="path-tool">