2 <ng-container *ngIf="subvolumeGroup$ | async as subvolumeGroup">
3 <cd-table *ngIf="subvolumeGroup"
4 [data]="subvolumeGroup"
9 (fetchData)="fetchData()">
11 <div class="table-actions btn-toolbar">
12 <cd-table-actions [permission]="permissions.cephfs"
13 [selection]="selection"
15 id="cephfs-subvolumegropup-actions"
16 [tableActions]="tableActions">
22 <ng-template #quotaUsageTpl
24 <cd-usage-bar *ngIf="row.info.bytes_pcent && row.info.bytes_pcent !== 'undefined'; else noLimitTpl"
25 [total]="row.info.bytes_quota"
26 [used]="row.info.bytes_pcent"
28 [calculatePerc]="false"
30 [customLegendValue]="row.info.bytes_quota"
31 decimals="2"></cd-usage-bar>
33 <ng-template #noLimitTpl>
34 <span ngbTooltip="Quota limit is not set"
35 *ngIf="row.info.bytes_pcent === 'undefined'"
37 {{row.info.bytes_used | dimlessBinary}}</span>
43 <cd-label [value]="value"></cd-label>
46 <ng-template #modeToHumanReadableTpl
48 <span *ngFor="let result of (value | octalToHumanReadable)"
49 [ngClass]="result.class"
50 [ngbTooltip]="result.toolTip">