2 <ng-container *
ngIf=
"subvolumeGroup$ | async as subvolumeGroup">
3 <cd-table *
ngIf=
"subvolumeGroup"
4 [data]=
"subvolumeGroup"
9 (fetchData)=
"fetchData()"
10 (updateSelection)=
"updateSelection($event)">
12 <div class=
"table-actions btn-toolbar">
13 <cd-table-actions [permission]=
"permissions.cephfs"
14 [selection]=
"selection"
16 id=
"cephfs-subvolumegropup-actions"
17 [tableActions]=
"tableActions">
23 <ng-template #quotaUsageTpl
25 <cd-usage-bar *
ngIf=
"row.info.bytes_pcent && row.info.bytes_pcent !== 'undefined'; else noLimitTpl"
26 [total]=
"row.info.bytes_quota"
27 [used]=
"row.info.bytes_used"
29 [showFreeToolTip]=
"false"
31 [customLegendValue]=
"row.info.bytes_quota"
32 decimals=
"2"></cd-usage-bar>
34 <ng-template #noLimitTpl
>
35 <span ngbTooltip=
"Quota limit is not set"
36 *
ngIf=
"row.info.bytes_pcent === 'undefined'"
38 {{row.info.bytes_used | dimlessBinary}}
</span>
44 <cd-label [value]=
"value"></cd-label>
47 <ng-template #modeToHumanReadableTpl
49 <span *
ngFor=
"let result of (value | octalToHumanReadable)"
50 [ngClass]=
"result.class"
51 [ngbTooltip]=
"result.toolTip">