18 lines
807 B
HTML
18 lines
807 B
HTML
<mat-card *ngFor="let schedule of schedules" class="scheduleContainer">
|
|
<mat-card-content>
|
|
<div class="basicScheduleContainer">
|
|
<p class="basicScheduleContent">{{schedule.scheduleDate | date:'EEEE, d MMM. y'}}</p>
|
|
<div class="basicScheduleContent">
|
|
<button mat-icon-button color="primary" [routerLink]="['/taskgroups', taskgroup!.taskgroupID, 'tasks', task!.taskID, 'schedule', schedule.scheduleID]"><mat-icon>edit</mat-icon></button>
|
|
<button mat-icon-button color="warn" (click)="deleteSchedule(schedule)"><mat-icon>delete</mat-icon></button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</mat-card-content>
|
|
</mat-card>
|
|
|
|
<button style="float: right" mat-raised-button color="primary" [routerLink]="['/taskgroups', taskgroup!.taskgroupID, 'tasks', task!.taskID, 'schedule']">Add</button>
|