Added Links in Schedules planned for today
All checks were successful
Java CI with Maven / build-and-push-frontend (push) Successful in 8s
Java CI with Maven / build-and-push-backend (push) Successful in 8s

This commit is contained in:
Sebastian Böckelmann 2024-04-18 20:14:35 +02:00
parent ba5faeed6a
commit f0a596ff0c

View File

@ -23,11 +23,13 @@
<mat-card *ngFor="let schedule of schedules"> <mat-card *ngFor="let schedule of schedules">
<mat-card-header> <mat-card-header>
<mat-card-title> <mat-card-title>
<a routerLink="/" class="link-no-deco">{{schedule.task.taskName}}</a> <a [routerLink]="['/taskgroups', schedule.taskgroupPath[schedule.taskgroupPath.length-1].taskgroupID, 'tasks', schedule.task.taskID]" class="link-no-deco">{{schedule.task.taskName}}</a>
</mat-card-title> </mat-card-title>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<span *ngFor="let taskgroupPath of schedule.taskgroupPath">{{taskgroupPath.taskgroupName}} /</span> <span *ngFor="let taskgroupPath of schedule.taskgroupPath">
<a class="link-no-deco" [routerLink]="['/taskgroups', taskgroupPath.taskgroupID]"> {{taskgroupPath.taskgroupName}} /</a>
</span>
<p class="gray-text" *ngIf="schedule.scheduleType==='BASIC'">To be done sometime today</p> <p class="gray-text" *ngIf="schedule.scheduleType==='BASIC'">To be done sometime today</p>
</mat-card-content> </mat-card-content>
<mat-card-actions> <mat-card-actions>