Include routing for task and taskgroup headlines

This commit is contained in:
Sebastian 2023-10-29 11:27:51 +01:00
parent c762d3d200
commit 6eccb57a8c
2 changed files with 17 additions and 1 deletions

View File

@ -35,3 +35,12 @@
.forget-all-btn {
margin-top: 20px;
}
.undecorated-link {
text-decoration: none;
color: black;
}
.undecorated-link:hover {
color: #3498db;
}

View File

@ -2,7 +2,14 @@
<app-navigation-link-list [navigationLinks]="defaultNavigationLinkPath"></app-navigation-link-list>
<mat-card *ngFor="let schedule of missedSchedules">
<mat-card-content>
<h3><a *ngFor="let taskgroup of schedule.taskgroupPath">{{taskgroup.taskgroupName}} / </a><a>{{schedule.task.taskName}}</a></h3>
<h3>
<span *ngFor="let taskgroup of schedule.taskgroupPath">
<a class="undecorated-link" [routerLink]="['/taskgroups', taskgroup.taskgroupID]">{{taskgroup.taskgroupName}}</a>
/
</span>
<a class="undecorated-link" [routerLink]="['/taskgroups', schedule.taskgroupPath[schedule.taskgroupPath.length-1].taskgroupID, 'tasks', schedule.task.taskID]">{{schedule.task.taskName}}</a>
</h3>
<mat-progress-bar mode="determinate" [value]="schedule.activeMinutes"></mat-progress-bar>
<div class="originally-planned-container">
<div style="width: 100%">