@if (employee) {
@if (avatarUrl) { } @else { }

{{ displayName }}

{{ presence.key | translate }} {{ workStatus.key | translate }}
@if (employee.organizationPosition?.name) { {{ employee.organizationPosition.name }} } @if (employee.user?.email) { {{ employee.user.email }} }
@if (traits.length) {
@for (trait of traits; track $index) { {{ trait }} }
}
{{ 'EMPLOYEES_PAGE.VIEW.LOCAL_TIME' | translate }}
{{ localTime || '—' }} @if (employeeTimeZone) { {{ employeeTimeZone }} }
{{ 'EMPLOYEES_PAGE.VIEW.MEMBER_SINCE' | translate }}
{{ startedOn || '—' }} @if (tenure) { {{ tenure }} }
{{ 'FORM.LABELS.BILL_RATE' | translate }}
{{ billRate || '—' }}
{{ 'EMPLOYEES_PAGE.VIEW.WEEKLY_LIMIT' | translate }}
{{ weeklyLimit || '—' }}
{{ 'SM_TABLE.TIME_TRACKING' | translate }}
{{ (employee.isTrackingEnabled ? 'EMPLOYEES_PAGE.ENABLED' : 'EMPLOYEES_PAGE.DISABLED') | translate }}
@if (tab === 'overview') {
{{ rangeLabel }} @for (option of periods; track option) { {{ 'EMPLOYEES_PAGE.VIEW.PERIODS.' + option | translate }} }
}
}
@if (employee) { @if (tab === 'overview') {
{{ 'EMPLOYEES_PAGE.VIEW.WORKED_TODAY' | translate }} {{ counts.failed ? '—' : formatDuration($safeNavigationMigration(counts.value?.todayDuration)) }} {{ 'EMPLOYEES_PAGE.VIEW.ACTIVITY_META' | translate : { value: formatPercent($safeNavigationMigration(counts.value?.todayActivities)) } }}
{{ 'EMPLOYEES_PAGE.VIEW.WORKED_PERIOD' | translate }} {{ counts.failed ? '—' : formatDuration($safeNavigationMigration(counts.value?.weekDuration)) }}
{{ 'EMPLOYEES_PAGE.VIEW.AVG_ACTIVITY' | translate }} {{ counts.failed ? '—' : formatPercent($safeNavigationMigration(counts.value?.weekActivities)) }}
{{ 'EMPLOYEES_PAGE.VIEW.OPEN_TASKS' | translate }} {{ tasks.failed ? '—' : taskSummary.open }} @if (taskSummary.overdue > 0) { } {{ 'EMPLOYEES_PAGE.VIEW.OPEN_TASKS_META' | translate : { progress: taskSummary.progress, overdue: taskSummary.overdue } }}
{{ 'EMPLOYEES_PAGE.VIEW.HOURS_WORKED' | translate }}
@if (!hours.failed && hoursSummary.total) { {{ 'EMPLOYEES_PAGE.VIEW.HOURS_META' | translate : { total: formatDuration(hoursSummary.total), average: formatDuration(hoursSummary.average) } }} }
@if (hours.failed) { } @else if (!hours.loading && !hoursSummary.total) { } @else { }
{{ 'EMPLOYEES_PAGE.VIEW.TOP_TASKS' | translate }}
{{ 'EMPLOYEES_PAGE.VIEW.PROJECTS' | translate }} @if (projectOverview.length) { {{ projectOverview.length }} }
{{ 'EMPLOYEES_PAGE.VIEW.PROJECTS_CAPTION' | translate }}
@if (projects.failed) { } @else { @if (!projects.loading && projects.value.partial) {

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

} @if (!projects.loading && projects.value.assigned === null) {

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

} @if (projectOverview.length) {
    @for (project of projectOverview; track project.id) {
  • }
} @else if (!projects.loading && !projects.value.partial && projects.value.assigned !== null) { } }
{{ 'EMPLOYEES_PAGE.VIEW.RECENT_SCREENSHOTS' | translate }}
@if (screenshots.failed) { } @else if (!screenshots.loading && !screenshots.value.length) { } @else {
@for (timeSlot of screenshots.value; track timeSlot.id) { }
}
{{ 'EMPLOYEES_PAGE.VIEW.ASSIGNED_TASKS' | translate }} @if (!tasks.failed && taskSummary.open + taskSummary.done) { {{ taskSummary.open + taskSummary.done }} }
@if (!tasks.failed && taskSummary.open + taskSummary.done) {
@for (filter of taskFilters; track filter) { }
}
@if (tasks.failed) { } @else if (!tasks.loading && !(taskSummary.open + taskSummary.done)) { } @else if (visibleTasks.length) {
    @for (task of visibleTasks; track task.id) {
  • @for (person of task.people.slice(0, 3); track $index) { @if (person.avatarUrl) { } @else { } } @if (task.people.length > 3) { } @if (!task.people.length) { }
  • }
@if (filteredTasks.length > taskLimit) { } } @else if (!tasks.loading) {

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

}
{{ 'EMPLOYEES_PAGE.VIEW.APPS_URLS' | translate }}
} @else {
@if (profile.shortDescription || profile.description) { @if (profile.shortDescription) {

{{ profile.shortDescription }}

} @if (profile.description) {
} } @else {

{{ 'EMPLOYEES_PAGE.VIEW.PROFILE.NO_DESCRIPTION' | translate }}

}
@if (profile.skills.length || profile.tags.length) { @if (profile.skills.length) {
{{ 'POP_UPS.SKILLS' | translate }}
@for (skill of profile.skills; track $index) { {{ skill.name }} }
} @if (profile.tags.length) {
{{ 'SM_TABLE.TAGS' | translate }}
@for (tag of profile.tags; track $index) { {{ tag.name }} }
} } @else {

{{ 'EMPLOYEES_PAGE.VIEW.PROFILE.NOT_PROVIDED' | translate }}

}
} }
@if (viewedTask) { }
@if (person.avatarUrl) { } @else { }
{{ person.name }} @if (person.email) { {{ person.email }} } {{ 'EMPLOYEES_PAGE.VIEW.PRESENCE.' + person.presence.toUpperCase() | translate }} @if (person.since) { {{ 'EMPLOYEES_PAGE.VIEW.MEMBER_SINCE' | translate }} {{ person.since }} } @if (person.bio) {

{{ person.bio }}

} @if (person.id) { {{ 'EMPLOYEES_PAGE.VIEW.VIEW_PROFILE' | translate }} }
@if (delta.percent !== null) { {{ delta.percent }}% } @else { — } {{ 'EMPLOYEES_PAGE.VIEW.VS_PREVIOUS.' + period | translate }} @if (panel.failed) { } @else if (!panel.loading && !panel.value.length) { } @else { @for (row of panel.value; track row.id) { }
{{ column | translate }} {{ 'EMPLOYEES_PAGE.VIEW.COLUMNS.TIME' | translate }}
{{ row.name }} @if (row.meta) { {{ row.meta }} } {{ formatDuration(row.duration) }}
}
{{ title | translate }}
@if (fields.length) {
@for (field of fields; track field.label) {
{{ field.label | translate }}
{{ field.value }}
}
} @else {

{{ 'EMPLOYEES_PAGE.VIEW.PROFILE.NOT_PROVIDED' | translate }}

}

{{ key | translate }}

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