@if (worklogService.currentWeek$ | async; as currentWeek) {
@for ( day of currentWeek!.ent | keyvalue: sortDays; track trackByDay($index, day); let i = $index ) {
@if (visibility[i]) { {{ T.F.WORKLOG.WEEK.TITLE | translate }} }

{{ day.value.dayStr }} {{ day.key }}.

@if (!visibility[i]) {
∑ {{ day.value.timeSpent | msToClockString }}   list {{ day.value.logEntries.length }} @if (day.value.workStart) { {{ day.value.workStart | momentFormat: 'HH:mm' }} - {{ day.value.workEnd | momentFormat: 'HH:mm' }} }
@if (focusSummaryFor(day.value.dateStr); as focusSummary) {
center_focus_strong
{{ focusSummary.count }} / {{ focusSummary.total | msToMinuteClockString }}
} @for ( sc of simpleCounterService.enabledSimpleCounters$ | async; track sc ) {
{{ sc.icon }} @if (sc.type === 'StopWatch') {
{{ sc.countOnDay[day.value.dateStr] || 0 | msToMinuteClockString }}
} @else {
{{ sc.countOnDay[day.value.dateStr] || 0 }}
}
}
}
@if (visibility[i]) { timer }
@if (visibility[i]) { @for ( logEntry of day.value.logEntries; track trackByLogEntry($index, logEntry) ) { }
{{ logEntry.task.title }} @if ( logEntry.task.subTaskIds && logEntry.task.subTaskIds.length > 0 ) { ∑ {{ logEntry.task.timeSpentOnDay[day.value.dateStr] | msToClockString }} } @if ( !logEntry.task.subTaskIds || !logEntry.task.subTaskIds.length ) { }
}
}
} @else {
{{ T.F.WORKLOG.WEEK.NO_DATA | translate }}
}