@if (timeSlot) { {{ timeSlot?.startedAt | utcToTimezone : (timeZone$ | async) | dateFormat }} {{ timeSlot?.startedAt | utcToTimezone : (timeZone$ | async) | timeFormat : (timeFormat$ | async) : false }} – {{ timeSlot?.stoppedAt | utcToTimezone : (timeZone$ | async) | timeFormat : (timeFormat$ | async) : false }} }
@if (timeSlot) {
{{ 'TIMESHEET.MEMBER' | translate }}
{{ 'REPORT_PAGE.ACTIVITY' | translate }}
{{ timeSlot?.percentage || 0 }}%
{{ 'TIMESHEET.DURATION' | translate }} {{ timeSlot?.duration | amFromUnix | amFromUtc | amDateFormat : 'mm' }} {{ 'ACTIVITY.MINUTES' | translate }}
}
@if (timeSlot) { @if (screenshots.length > 0) {
{{ 'TIMESHEET.SCREENSHOTS.SCREENSHOTS' | translate }}
{{ screenshots.length }}
@for (image of screenshots; track image.id) { @let recordedTime = image?.recordedAt | utcToTimezone : (timeZone$ | async) | timeFormat : (timeFormat$ | async) : false;
@if (image?.description) { }
{{ recordedTime }}
}
} @if (apps?.length > 0) {
{{ 'TIMESHEET.APPS' | translate }}
{{ apps.length }}
@for (app of apps; track app) { {{ app }} }
}
{{ 'TIMESHEET.SCREENSHOTS.TIME_LOG' | translate }}
@if (timeLogs?.length > 0) { {{ timeLogs.length }} }
@for (timeLog of timeLogs; track timeLog.id) {
{{ timeLog?.startedAt | utcToTimezone : (timeZone$ | async) | timeFormat : (timeFormat$ | async) }} – @if (!timeLog?.isRunning) { {{ timeLog?.stoppedAt | utcToTimezone : (timeZone$ | async) | timeFormat : (timeFormat$ | async) }} } @else { {{ 'TIMESHEET.TILL_NOW' | translate }} } {{ timeLog?.duration | durationFormat }} @if (TimeLogsLabel[timeLog?.logType]; as label) { }
{{ 'TIMESHEET.SOURCE' | translate }}
{{ timeLog?.source | replace : '_' : ' ' | titlecase }} @if (timeLog?.version) { {{ timeLog?.version }} }
{{ 'TIMESHEET.ORGANIZATION_CONTACT' | translate }}
@if (timeLog?.organizationContact) { } @else { {{ 'TIMESHEET.NO_ORGANIZATION_CONTACT' | translate }} }
{{ 'TIMESHEET.PROJECT' | translate }}
@if (timeLog?.project) { } @else { {{ 'TIMESHEET.NO_PROJECT' | translate }} }
{{ 'TIMESHEET.TODO' | translate }}
@if (timeLog?.task) { {{ timeLog?.task?.title }} } @else { {{ 'TIMESHEET.NO_TODO' | translate }} }
@if (timeLog?.description) {
{{ 'TIMESHEET.NOTES' | translate }}
{{ timeLog?.description }}
} @if (timeLog?.reason) {
{{ 'TIMESHEET.REASON' | translate }}
{{ timeLog?.reason }}
}
@if (timeLog?.isRunning) { {{ 'TIMESHEET.RUNNING_TIMER_WARNING' | translate }} }
}
}