1 <cd-modal [modalRef]="activeModal">
2 <ng-container i18n="form title"
3 class="modal-title">Delete Zone</ng-container>
5 <ng-container class="modal-content">
9 <div class="custom-control ms-4 mt-4">
11 Do you want to delete all pools associated with it?</label>
14 This will delete the following pools and any data stored in these pools:</label>
15 <ng-container *ngIf="zoneData$ | async as data">
17 <ng-container *ngFor="let pool of data.placement_pools">
18 <strong>{{pool?.val.data_extra_pool}}</strong>
19 <strong>{{pool?.val.index_pool}}</strong>
20 <strong>{{pool?.val.storage_classes.STANDARD.data_pool}}</strong>
24 <div class="form-group">
25 <div class="custom-control custom-checkbox mt-2">
26 <input type="checkbox"
27 class="custom-control-input"
30 formControlName="deletePools"
31 (change)="showDangerText()">
32 <label class="custom-control-label"
34 i18n>Yes, I want to delete the pools.</label>
36 <div *ngIf="displayText"
38 <cd-alert-panel type="danger"
40 This will delete all the data in the pools!
46 <div class="modal-footer">
47 <cd-form-button-panel (submitActionEvent)="submit()"
49 [submitText]="actionLabels.DELETE">
50 </cd-form-button-panel>