issue-112 #115

Merged
sebastian merged 7 commits from issue-112 into master 2024-04-18 20:20:22 +02:00
3 changed files with 20 additions and 0 deletions
Showing only changes of commit 6417b7afb9 - Show all commits

View File

@ -5,6 +5,11 @@
justify-content: space-between;
}
.navi-link-container {
margin: 20px auto;
width: 80%;
}
.spacer {
margin-bottom: 2.5%;
}

View File

@ -1,4 +1,8 @@
<div class="navi-link-container">
<app-navigation-link-list [navigationLinks]="defaultNavigationLinks"></app-navigation-link-list>
</div>
<div class="container">
<div class="calendar-container">
<h1 mat-dialog-title>Register forgotten activity</h1>
<mwl-calendar-day-view

View File

@ -17,6 +17,7 @@ import * as moment from "moment/moment";
import {EventColor} from "calendar-utils";
import {TaskOverviewData} from "../taskgroup-overview/taskgroup-overview.component";
import {Router} from "@angular/router";
import {NavigationLink} from "../../navigation-link-list/navigation-link-list.component";
const colors: Record<string, EventColor> = {
@ -65,6 +66,16 @@ export class ForgottenTaskStartDialogComponent implements OnInit{
},
},
];
defaultNavigationLinks: NavigationLink[] = [
{
linkText: "Dashboard",
routerLink: ['/']
},
{
linkText: "Register Forgotten Activity",
routerLink: ["/forgotten"]
}
];
constructor(private router: Router,