feat(timeline): add parent task title

This commit is contained in:
Johannes Millan 2021-04-25 21:05:11 +02:00
parent 3b8b7f4664
commit c87b8df60c
6 changed files with 39 additions and 12 deletions

View file

@ -86,16 +86,18 @@
<div
(click)="IS_TOUCH_ONLY && toggleShowAdditionalInfoOpen()"
class="title-and-tags-wrapper"
>
<div
#contentEditableOnClickEl
(editFinished)="updateTaskTitleIfChanged($event)"
[isResetAfterEdit]="true"
[value]="task?.title"
class="task-title show-only-on-no-touch-only"
contentEditableOnClick
contenteditable="true"
class="title-and-tags-wrapper">
<div class="parent-title"
*ngIf="showParentTitle && task.parentId">{{parentTitle$|async}}
</div>
<div #contentEditableOnClickEl
(editFinished)="updateTaskTitleIfChanged($event)"
[isResetAfterEdit]="true"
[value]="task?.title"
class="task-title show-only-on-no-touch-only"
contentEditableOnClick
contenteditable="true"
></div>
<div class="task-title show-only-on-touch-only">{{task?.title}}</div>