taskManagementFrontend/taskManagement/src/app/components/project-page/task/task-details-component/task-details-component.html

31 lines
927 B
HTML
Raw Normal View History

2025-11-06 13:30:08 +00:00
<h2>Task Details</h2>
<button matMiniFab (click)="openDeleteTaskDialog()" class="margin-right"><mat-icon>delete</mat-icon></button>
<button matMiniFab (click)="openEditTaskDialog()"><mat-icon>edit</mat-icon></button>
<section>
@if(this.task && this.task.description) {
<h2>Description</h2>
{{this.task.description}}
}
</section>
<section>
@if(this.task && this.task.status) {
<h2>Status</h2>
{{this.task.status}}
}
</section>
<section>
@if(this.task && this.task.users) {
<h2>User</h2>
@for(user of this.task.users; track user) {
<mat-chip class="margin-right">{{user.firstName}} {{user.lastName}}</mat-chip>
}
}
</section>