@if (mode === 'page') { @if (viewedProject) { } } @else { @if (viewedProject) { } }
{{ viewedProject.name }}
@if (facts?.status || facts?.isPublic !== undefined || facts?.client) {

@if (facts.status; as status) { {{ status.text }} } @if (facts.isPublic !== undefined) { {{ (facts.isPublic ? 'BUTTONS.PUBLIC' : 'BUTTONS.PRIVATE') | translate }} } @if (facts.client) { {{ facts.client }} }

}
{{ 'ORGANIZATIONS_PAGE.EDIT.EDIT_PROJECT' | translate }}
@if (isPage) {
{{ 'PROJECT_QUICK_LOOK.TOTAL_TRACKED' | translate }}
{{ lifetime.value !== null ? formatDuration(lifetime.value) : '—' }} {{ 'PROJECT_QUICK_LOOK.TOTAL_TRACKED_HINT' | translate }}
{{ 'PROJECT_QUICK_LOOK.THIS_PERIOD' | translate }}
{{ workedSeconds ? formatDuration(workedSeconds) : '—' }} @if (periodDelta; as delta) { {{ 'PROJECT_QUICK_LOOK.VS_PREVIOUS' | translate : { value: delta.percent + '%' } }} } @else { {{ rangeLabel }} }
{{ 'PROJECT_QUICK_LOOK.TIMELINE' | translate }}
@if (timeline; as line) { {{ (line.start || '…') + ' – ' + (line.end || '…') }} @if (line.percent !== null) { } @if (line.hint; as hint) { {{ hint.key | translate : { count: hint.count } }} } } @else { {{ 'PROJECT_QUICK_LOOK.NO_DATES' | translate }} }
@if (budget; as budget) {
{{ 'ORGANIZATIONS_PAGE.BUDGET' | translate }}
@if (budget.over) { {{ 'PROJECT_QUICK_LOOK.OVER_BUDGET' | translate : { value: formatHours(budget.usedHours - budget.budgetHours) } }} } @else { {{ 'PROJECT_QUICK_LOOK.BUDGET_USED' | translate : { used: formatHours(budget.usedHours), budget: formatHours(budget.budgetHours) } }} }
} @else {
{{ 'ORGANIZATIONS_PAGE.EDIT.BILLING' | translate }}
{{ billing || '—' }} @if (costBudget) { {{ ('ORGANIZATIONS_PAGE.BUDGET' | translate) + ': ' + costBudget }} }
}
} @else {
{{ 'EMPLOYEES_PAGE.VIEW.WORKED_PERIOD' | translate }}
{{ workedSeconds ? formatDuration(workedSeconds) : '—' }}
{{ 'ORGANIZATIONS_PAGE.EDIT.TEAMS_PAGE.MEMBERS' | translate }}
{{ facts?.members ?? '—' }}
{{ 'ORGANIZATIONS_PAGE.EDIT.END_DATE' | translate }}
{{ facts?.endDate || '—' }} @if (facts?.due; as due) { {{ due.key | translate : { count: due.count } }} }
@if (budget; as budget) {
{{ 'ORGANIZATIONS_PAGE.BUDGET' | translate }} @if (budget.over) { {{ 'PROJECT_QUICK_LOOK.OVER_BUDGET' | translate : { value: formatHours(budget.usedHours - budget.budgetHours) } }} } @else { {{ 'PROJECT_QUICK_LOOK.BUDGET_USED' | translate : { used: formatHours(budget.usedHours), budget: formatHours(budget.budgetHours) } }} }
} }
{{ 'PROJECT_QUICK_LOOK.PROGRESS' | translate }}
@if (taskProgress.failed) { } @else if (taskProgress.value && !taskProgress.value.total) { } @else if (taskProgress.value; as progress) { @if (isPage) {
{{ formatPercent(progress.percent) }} {{ 'PROJECT_QUICK_LOOK.PROGRESS_META' | translate : { done: progress.done, total: progress.total } }}
} @else {
{{ formatPercent(progress.percent) }} {{ 'PROJECT_QUICK_LOOK.PROGRESS_META' | translate : { done: progress.done, total: progress.total } }}
@if (progress.done) { } @if (progress.progress) { }
}
{{ 'EMPLOYEES_PAGE.VIEW.TASK_FILTERS.DONE' | translate }}
{{ progress.done }}
{{ 'EMPLOYEES_PAGE.VIEW.TASK_FILTERS.PROGRESS' | translate }}
{{ progress.progress }}
{{ 'EMPLOYEES_PAGE.VIEW.TASK_FILTERS.OPEN' | translate }}
{{ progress.todo }}
}
@if (attention.length) {
{{ 'PROJECT_QUICK_LOOK.NEEDS_ATTENTION' | translate }} {{ attention.length }}
{{ 'PROJECT_QUICK_LOOK.NEEDS_ATTENTION_CAPTION' | translate }}
}
{{ 'PROJECT_QUICK_LOOK.TOP_CONTRIBUTORS' | translate }}
{{ contributorsCaptionKey | translate : { range: rangeLabel } }}
@if (contributors.failed) { } @else if (!contributors.loading && !contributors.value.length) { } @else {
    @for (person of contributors.value; track person.id) {
  1. @if (person.avatarUrl) { } @else { } @if (person.presence === 'tracking' || person.presence === 'online') { } {{ person.name }} @if (person.activity !== undefined) { {{ 'EMPLOYEES_PAGE.VIEW.ACTIVITY_META' | translate : { value: formatPercent(person.activity) } }} } {{ formatDuration(person.duration) }} {{ formatPercent(person.share) }}
  2. }
}
@if (isPage) {
{{ 'PROJECT_QUICK_LOOK.TEAM' | translate }} @if (team.length) { {{ team.length }} }
@if (!team.length) { } @else { }
} @if (isPage && detailsSections.length) {
}
{{ 'TASKS_PAGE.HEADER' | translate }} @if (tasks.length) { {{ tasks.length }} }
@if (tasks.length) {
@for (filter of taskFilters; track filter) { }
}
@if (taskProgress.failed) { } @else if (!taskProgress.loading && !tasks.length) { } @else if (!taskProgress.loading && !filteredTasks.length) { } @else { @if (filteredTasks.length > taskLimit) {
{{ 'EMPLOYEES_PAGE.VIEW.SHOWING' | translate : { shown: visibleTasks.length, total: filteredTasks.length } }}
} }
@let showGrid = isPage && activityView === 'grid';
{{ 'PROJECT_QUICK_LOOK.ACTIVITY' | translate }}
{{ showGrid ? activityGrid.value?.range || '' : rangeLabel }}
@let activityTotal = showGrid ? activityGrid.value?.total || 0 : hoursTotal; @if (activityTotal) { {{ formatHours(activityTotal) }} } @if (isPage) {
}
@if (showGrid) {
@let years = gridYears; @let yearIndex = years.indexOf(gridYear);
{{ gridYear === null ? ('PROJECT_QUICK_LOOK.GRID_LAST_YEAR' | translate) : gridYear }}
@let split = activityGrid.value; @if (split && split.total) {
{{ 'EMPLOYEES_PAGE.VIEW.TRACKED' | translate }}
{{ formatHours(split.tracked) }}
{{ 'EMPLOYEES_PAGE.VIEW.MANUAL' | translate }}
{{ formatHours(split.manual) }} {{ formatPercent((split.manual / split.total) * 100) }}
}
@if (activityGrid.failed) { } @else if (activityGrid.value; as grid) {
@for (weekday of gridWeekdays; track $index) { } @for (day of grid.days; track day.key; let index = $index) { @let description = gridDayTooltip(day); } @for (month of grid.months; track month.key) { }
@if (gridHasFocus && grid.days[gridFocus]; as focused) { } }
} @else {
@if (hours.failed) { } @else if (!hours.loading && !hoursTotal) { } @else { }
}
{{ 'EMPLOYEES_PAGE.VIEW.TOP_TASKS' | translate }}
@if (topTasks.failed) { } @else if (!topTasks.loading && !topTasks.value.length) { } @else {
    @for (task of topTasks.value; track task.id; let index = $index) {
  1. {{ task.name }} {{ formatDuration(task.duration) }} {{ formatPercent(task.share) }}
  2. }
}
@if (isPage && modules.value.length) {
{{ 'PROJECT_QUICK_LOOK.MODULES' | translate }} {{ modules.value.length }}
    @for (module of modules.value; track module.id) {
  • {{ module.name }} @if (module.dates) { {{ module.dates }} } @if (module.status) { {{ module.status }} } {{ (module.tasks === 1 ? 'PROJECT_QUICK_LOOK.MODULE_TASK' : 'PROJECT_QUICK_LOOK.MODULE_TASKS') | translate : { count: module.tasks } }}
  • }
}

{{ key | translate }}

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