Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | 98x | <cd-modal #modal [modalRef]="modalRef"> <ng-container class="modal-title"> <ng-container *ngTemplateOutlet="deletionHeading"></ng-container> </ng-container> <ng-container class="modal-content"> <form name="deletionForm" #formDir="ngForm" [formGroup]="deletionForm" novalidate> <div class="modal-body"> <ng-container *ngTemplateOutlet="bodyTemplate; context: bodyContext"></ng-container> <div class="question"> <span *ngIf="itemNames; else noNames"> <p *ngIf="itemNames.length === 1; else manyNames" i18n>Are you sure that you want to {{ actionDescription | lowercase }} <strong>{{ itemNames[0] }}</strong>?</p> <ng-template #manyNames> <p i18n>Are you sure that you want to {{ actionDescription | lowercase }} the selected items?</p> <ul> <li *ngFor="let itemName of itemNames"><strong>{{ itemName }}</strong></li> </ul> </ng-template > </span> <ng-template #noNames> <p i18n>Are you sure that you want to {{ actionDescription | lowercase }} the selected {{ itemDescription }}?</p> </ng-template> <div class="form-group" [ngClass]="{'has-error': deletionForm.showError('confirmation', formDir)}"> <div class="checkbox checkbox-primary"> <input type="checkbox" name="confirmation" id="confirmation" formControlName="confirmation" autofocus> <label i18n for="confirmation">Yes, I am sure.</label> </div> </div> </div> </div> <div class="modal-footer"> <cd-submit-button #submitButton [form]="deletionForm" (submitAction)="callSubmitAction()"> <ng-container *ngTemplateOutlet="deletionHeading"></ng-container> </cd-submit-button> <cd-back-button [back]="modalRef.hide" name="Cancel" i18n-name> </cd-back-button> </div> </form> </ng-container> </cd-modal> <ng-template #deletionHeading> {{ actionDescription | titlecase }} {{ itemDescription }} </ng-template> |