@if (task) {
@if (tab !== 'board') { } @if (canEdit) { }
} @if (task) {
@for (item of tabs; track item.id) { @if (item.id !== 'documents' || canSeeDocuments) { } }
@if (boardOpened) {
} @if (tab === 'activity') {
} @if (commentsOpened) {
} @if (documentsOpened) {
} @if (overviewOpened) {
{{ 'TASK_VIEW.HOURS_PER_DAY' | translate }}
{{ 'TASK_VIEW.LAST_DAYS' | translate : { count: hoursDays } }}
@if (hours.failed) { } @else if (!hours.loading && !hoursTotal) { } @else if (hours.value.length) { }
@if (!isSubtask || subtasks.length) {
{{ 'TASK_VIEW.SUBTASKS' | translate }} @if (subtasks.length) { {{ subtasks.length }} }
@if (subtaskCount; as count) { {{ 'TASK_VIEW.SUBTASKS_DONE' | translate : { done: count.done, total: count.total } }} }
@if (subtaskCount; as count) { } @if (canAddSubtask) { }
@if (subtasks.length) {
    @for (subtask of subtasks; track subtask.id) {
  • }
} @else { }
}
{{ 'TASK_VIEW.LINKED_ISSUES' | translate }}
@if (links.failed) { } @else if (links.value.length) { @for (group of links.value; track group.relation) {
    @for (row of group.rows; track row.id) {
  • }
} } @else if (!links.loading) { }
{{ 'TASK_VIEW.PROJECT' | translate }}
@if (task.project; as project) { @if (canViewProject) { } @else { } } @else { }
{{ 'TASK_VIEW.TIME_TRACKING' | translate }}
@if (tracking.failed) { } @else if (tracking.value; as time) {
@if (time.fill !== null) { }
{{ time.logged }} {{ 'TASK_VIEW.LOGGED' | translate }} @if (time.over) { {{ 'TASK_VIEW.OVER_ESTIMATE' | translate : { value: time.over } }} } @else if (time.remaining) { {{ time.remaining }} {{ 'TASK_VIEW.REMAINING' | translate }} }
{{ ('TASKS_PAGE.ESTIMATE' | translate) + ': ' }} {{ time.estimate || ('PROJECT_VIEW.TASK_NO_ESTIMATE' | translate) }}
@if (workers.length) {
{{ 'PROJECT_VIEW.TASK_TOP_PEOPLE' | translate }}
    @for (worker of workers; track worker.person.id) {
  1. {{ worker.person.name }} {{ worker.worked }} {{ worker.share }}%
  2. }
} }
{{ 'TASK_VIEW.TIME_ENTRIES' | translate }}
{{ 'TASK_VIEW.LAST_DAYS' | translate : { count: entriesDays } }}
@if (entries.failed) { } @else if (entries.value.length) {
    @for (entry of entries.value; track entry.id) {
  • @if (entry.person; as person) { @if (entry.personLink) { } @else { } } @if (entry.person && entry.personLink) { {{ entry.person.name }} } @else { {{ entry.person?.name || ('PROJECT_VIEW.SOMEONE' | translate) }} } {{ entry.date }} · {{ entry.range }} {{ entry.duration }} @if (entry.running) { {{ 'TASK_VIEW.RUNNING' | translate }} } @else if (entry.manual) { {{ 'EMPLOYEES_PAGE.VIEW.MANUAL' | translate }} } @else if (entry.activity !== null) { {{ entry.activity }}% }
  • }
} @else if (!entries.loading) { }
}
}
@if (canEdit && statuses.length) { {{ currentStatus?.name || status?.text }} @for (option of statuses; track option.id) { {{ option.name }} } }
@if (row.key) { {{ row.key }} } {{ row.title }} @if (row.people) { @if (row.priority; as priority) { } @for (person of row.people.slice(0, 3); track person.id) { } @empty { } @if (row.people.length > 3) { +{{ row.people.length - 3 }} } } @if (row.people && row.sameProject && canEdit && statuses.length) { @let statusLabel = statusName(menuStatusOf(row)?.name || row.status?.text); {{ statusLabel }} @for (option of statuses; track option.id) { {{ statusName(option.name) }} } } @else if (row.status; as status) { {{ statusName(status.text) }} }
{{ project.name }} @if (person.avatarUrl) { } @else { }

{{ key | translate }}

{{ 'EMPLOYEES_PAGE.VIEW.UNAVAILABLE' | translate }}