fix: ng update core 20

This commit is contained in:
2025-06-09 14:12:21 +02:00
parent 5781f4ba61
commit 0e2e61ac34
25 changed files with 2153 additions and 6678 deletions

View File

@@ -1,31 +1,41 @@
<mat-card>
<mat-card-header>
<mat-card-title-group>
<mat-card-title>
{{item.title}}
</mat-card-title>
<mat-card-subtitle>{{item.sentDate.format('[Wysłano] dddd DD MMMM YYYYr. o HH:mm')}}</mat-card-subtitle>
</mat-card-title-group>
</mat-card-header>
<mat-card-content>
<p *ngIf="body">
{{body}}
</p>
<hr>
<ul>
@for (user of rcpts; track $index) {
<li>
<span *ngIf="user.room">{{user.room}}: </span>{{user.fname}} {{user.surname}} <span
style="color: gray">({{user.uname}})</span>
</li>
}
</ul>
<mat-card-header>
<mat-card-title-group>
<mat-card-title>
{{item.title}}
</mat-card-title>
<mat-card-subtitle>{{item.sentDate.format('[Wysłano] dddd DD MMMM YYYYr. o HH:mm')}}</mat-card-subtitle>
</mat-card-title-group>
</mat-card-header>
<mat-card-content>
@if (body) {
<p>
{{body}}
</p>
}
<hr>
<ul>
@for (user of rcpts; track $index) {
<li>
@if (user.room) {
<span>{{user.room}}: </span>
}{{user.fname}} {{user.surname}} <span
style="color: gray">({{user.uname}})</span>
</li>
}
</ul>
</mat-card-content>
<mat-card-footer>
<mat-card-actions>
<button mat-stroked-button (click)="getMessage()" *ngIf="!body">Wczytaj treść</button>
<button mat-stroked-button (click)="getRcpts()" *ngIf="!rcpts">Wczytaj odbiorców</button>
<mat-spinner diameter="32" color="accent" *ngIf="loading"></mat-spinner>
</mat-card-actions>
<mat-card-actions>
@if (!body) {
<button mat-stroked-button (click)="getMessage()">Wczytaj treść</button>
}
@if (!rcpts) {
<button mat-stroked-button (click)="getRcpts()">Wczytaj odbiorców</button>
}
@if (loading) {
<mat-spinner diameter="32" color="accent"></mat-spinner>
}
</mat-card-actions>
</mat-card-footer>
</mat-card>
</mat-card>