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">
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 decimals="2"></cd-usage-bar>
30 <ng-template #noLimitTpl>
31 <span ngbTooltip="Quota limit is not set"
32 *ngIf="row.info.bytes_pcent === 'undefined'"
34 {{row.info.bytes_used | dimlessBinary}}</span>
39 let-value="data.value">
40 <cd-label [value]="value"></cd-label>
43 <ng-template #modeToHumanReadableTpl
44 let-value="data.value">
45 <span *ngFor="let result of (value | octalToHumanReadable)"
46 [ngClass]="result.class"
47 [ngbTooltip]="result.toolTip">