unoffical wafrn mirror
wafrn.net
atproto
social-network
activitypub
1<h2 class="dialog-title" mat-dialog-title
2 >{{ data.title | translate }} <strong class="dialog-title-suffix">{{ textData.titleSuffix }}</strong>
3</h2>
4@if (textData.content || textData.contentSuffix) {
5 <mat-dialog-content>
6 @if (textData.content) {
7 <p [innerHTML]="textData.content | translate"></p>
8 }
9
10 @if (textData.contentSuffix) {
11 <p>
12 <strong class="dialog-content-suffix" [innerHTML]="textData.contentSuffix | translate"></strong>
13 </p>
14 }
15 </mat-dialog-content>
16}
17<mat-dialog-actions>
18 @for (option of textData.options | KeyValue; track $index) {
19 @if (option.value.type === 'cancel') {
20 <button mat-stroked-button class="dialog-cancel-button" (click)="onSelect(option.key)">
21 {{ option.value.text | translate }}
22 </button>
23 }
24 @if (option.value.type === 'confirm') {
25 <button mat-flat-button class="dialog-confirm-button" (click)="onSelect(option.key)" cdkFocusInitial>
26 {{ option.value.text | translate }}
27 </button>
28 }
29 }
30</mat-dialog-actions>