diff --git a/matsen-tool/src/app/_views/posts/post-list/post-list.component.html b/matsen-tool/src/app/_views/posts/post-list/post-list.component.html
index 16bb119..08d8bdb 100644
--- a/matsen-tool/src/app/_views/posts/post-list/post-list.component.html
+++ b/matsen-tool/src/app/_views/posts/post-list/post-list.component.html
@@ -20,7 +20,7 @@
diff --git a/matsen-tool/src/app/_views/posts/post-list/post-list.component.ts b/matsen-tool/src/app/_views/posts/post-list/post-list.component.ts
index 4dbea33..e0c3f18 100644
--- a/matsen-tool/src/app/_views/posts/post-list/post-list.component.ts
+++ b/matsen-tool/src/app/_views/posts/post-list/post-list.component.ts
@@ -15,6 +15,8 @@ import {NgbModal, NgbModalOptions} from "@ng-bootstrap/ng-bootstrap";
import {AppHelperService} from "@app/_helpers/app-helper.service";
import {PagingComponent} from "@app/_components/paging/paging.component";
import {NewCommentComponent} from "@app/_views/posts/new-comment/new-comment.component";
+import {User} from "@app/_models";
+import {AccountService} from "@app/_services";
@Component({
selector: 'app-post-list',
@@ -32,6 +34,7 @@ export class PostListComponent implements OnInit, AfterViewInit {
@ViewChild("pagingComponent", { static: false }) pagingComponent!: PagingComponent;
+ protected currentUser: User | null;
protected postsSub: Subscription;
protected posts: Array;
protected partnerProductsSub: Subscription;
@@ -41,6 +44,7 @@ export class PostListComponent implements OnInit, AfterViewInit {
constructor(
private postService: PostService,
+ private accountService: AccountService,
protected appHelperService: AppHelperService
) {
this.postsSub = new Subscription();
@@ -49,6 +53,7 @@ export class PostListComponent implements OnInit, AfterViewInit {
this.partnerProducts = [];
this.dataSource = new MatTableDataSource(this.posts);
this.commentsVisibility = new Map();
+ this.currentUser = this.accountService.userValue;
}
ngOnInit() {
diff --git a/matsen-tool/src/app/_views/tasks/task-list/task-list.component.html b/matsen-tool/src/app/_views/tasks/task-list/task-list.component.html
index 6603832..5879ebb 100644
--- a/matsen-tool/src/app/_views/tasks/task-list/task-list.component.html
+++ b/matsen-tool/src/app/_views/tasks/task-list/task-list.component.html
@@ -8,6 +8,40 @@
>
+
+
+
+
+
+
{{ task.dueAt | date:'dd.MM.YYYY':'GMT+0000' }}
+
+
+
{{ task.assignedToName }}
+
+
+
+
+
+
{{ task.headline }}
+
+
+
+