{{ task.type === 'task' ? 'Task title' : 'Section title' }}
Tags
@if (task.tags.length) { @for ( tag of task.tags | fuseFindByKey: 'id' : tags; track trackByFn($index, tag) ) {
{{ tag.title }}
} }
@if (task.tags.length) { Edit } @if (!task.tags.length) { Add }
@if (!tagsEditMode) { @for ( tag of filteredTags; track trackByFn($index, tag) ) {
{{ tag.title }}
} } @if (tagsEditMode) {
@for ( tag of filteredTags; track trackByFn($index, tag) ) {
}
} @if ( shouldShowCreateTagButton(newTagInput.value) ) {
Create "{{ newTagInput.value }}"
}
Priority
@if (task.priority === 0) { Low } @if (task.priority === 1) { Normal } @if (task.priority === 2) { High }
Due date
@if (task.dueDate) { {{ task.dueDate | date: 'longDate' }} } @if (!task.dueDate) { Not set }
Notes