Created
December 24, 2019 13:59
-
-
Save lydemann/000810e1bce9feb2d9b07851b14fc091 to your computer and use it in GitHub Desktop.
todo-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ng-container *ngIf="!(isLoading$ | async); else loadingRef"> | |
<div class="todo-list-wrapper" *ngIf="todoList$ | async as todoList"> | |
<div class="mx-auto col-10"> | |
<h5>{{ 'todo-list' | translate }}</h5> | |
<hr /> | |
<app-cards-list | |
[tableRef]="todoListRef" | |
[cardRef]="todoItemCardRef" | |
[data]="todoList" | |
></app-cards-list> | |
<hr /> | |
<div> | |
{{ 'todo-list-section.todos-duedate-today' | translate }}: | |
{{ todoList | duedateTodayCount }} | |
</div> | |
<hr /> | |
<app-add-todo [currentTODO]="selectedTodo$ | async"></app-add-todo> | |
</div> | |
</div> | |
</ng-container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment