1 <ng-container *ngIf="selection">
5 cdStatefulTab="rgw-bucket-details">
6 <ng-container ngbNavItem="details">
9 <ng-template ngbNavContent>
11 <table class="table table-striped table-bordered">
15 class="bold w-25">Versioning</td>
16 <td class="w-75">{{ selection.versioning }}</td>
20 class="bold">Encryption</td>
21 <td>{{ selection.encryption }}</td>
25 class="bold">MFA Delete</td>
26 <td>{{ selection.mfa_delete }}</td>
30 class="bold">Index type</td>
31 <td>{{ selection.index_type }}</td>
35 class="bold">Placement rule</td>
36 <td>{{ selection.placement_rule }}</td>
40 class="bold">Last modification time</td>
41 <td>{{ selection.mtime | cdDate }}</td>
48 <legend i18n>Bucket quota</legend>
49 <table class="table table-striped table-bordered">
53 class="bold w-25">Enabled</td>
54 <td class="w-75">{{ selection.bucket_quota.enabled | booleanText }}</td>
56 <ng-container *ngIf="selection.bucket_quota.enabled">
59 class="bold">Maximum size</td>
60 <td *ngIf="selection.bucket_quota.max_size <= -1"
62 <td *ngIf="selection.bucket_quota.max_size > -1">
63 {{ selection.bucket_quota.max_size | dimless }}
68 class="bold">Maximum objects</td>
69 <td *ngIf="selection.bucket_quota.max_objects <= -1"
71 <td *ngIf="selection.bucket_quota.max_objects > -1">
72 {{ selection.bucket_quota.max_objects }}
81 <legend i18n>Locking</legend>
82 <table class="table table-striped table-bordered">
86 class="bold w-25">Enabled</td>
87 <td class="w-75">{{ selection.lock_enabled | booleanText }}</td>
89 <ng-container *ngIf="selection.lock_enabled">
92 class="bold">Mode</td>
93 <td>{{ selection.lock_mode }}</td>
97 class="bold">Days</td>
98 <td>{{ selection.lock_retention_period_days }}</td>
105 <ng-container *ngIf="selection.tagset">
106 <legend i18n>Tags</legend>
107 <table class="table table-striped table-bordered">
109 <tr *ngFor="let tag of selection.tagset | keyvalue">
111 class="bold w-25">{{tag.key}}</td>
112 <td class="w-75">{{ tag.value }}</td>
121 <ng-container ngbNavItem="permissions">
124 <ng-template ngbNavContent>
126 <table class="table table-striped table-bordered">
130 class="bold w-25">Policy</td>
131 <td><pre>{{ selection.policy | json}}</pre></td>
139 <div [ngbNavOutlet]="nav"></div>