Back to Super Productivity

Dialog View Archived Task.Component

src/app/features/tasks/dialog-view-archived-task/dialog-view-archived-task.component.html

18.4.41.3 KB
Original Source

@if (task.issueType) { } @else { archive } {{ task.title }}

@if (subTasks().length) {

list**{{ T.F.TASK.ADDITIONAL_INFO.SUB_TASKS | translate: { nr: subTasks().length } }}**

@for (sub of subTasks(); track sub.id) { - {{ sub.isDone ? 'check_box' : 'check_box_outline_blank' }}{{ sub.title }} @if (sub.timeSpent) { {{ sub.timeSpent | msToString }} } } } @if (task.timeSpent || task.timeEstimate) {

timer {{ T.F.TASK.ADDITIONAL_INFO.TIME | translate }}

{{ task.timeSpent || 0 | msToString }}/{{ task.timeEstimate || 0 | msToString }} } @if (task.notes) {

chat {{ T.F.TASK.ADDITIONAL_INFO.NOTES | translate }}

} @if (task.attachments?.length) {

attachment {{ T.F.TASK.ADDITIONAL_INFO.ATTACHMENTS | translate: { nr: task.attachments.length } }}

} @if (issueUrl()) {

{{ T.F.TASK.ADDITIONAL_INFO.ISSUE | translate }}

{{ issueUrl() }} open_in_new } @if (task.repeatCfgId) {

{{ T.F.TASK.ADDITIONAL_INFO.REPEAT | translate }}

@if (repeatCfgLabel()) { {{ repeatCfgLabel() }} } } {{ T.F.TASK.ADDITIONAL_INFO.CREATED_ON | translate }} {{ task.created | localeDate: 'short' }} @if (task.doneOn) { {{ T.F.TASK.ADDITIONAL_INFO.COMPLETED_ON | translate }} {{ task.doneOn | localeDate: 'short' }} } {{ T.G.CLOSE | translate }}