Back to Super Productivity

@if (isForToday && !cfg?.misc?.isDisableCelebration) { } @else { {{ T.PDS.SUMMARY_FOR | translate: { dayStr: dayStr } }} }

src/app/pages/daily-summary/daily-summary.component.html

18.14.01.4 KB
Original Source

@let cfg = cfg$ | async;

@if (isForToday && !cfg?.misc?.isDisableCelebration) { } @else { {{ T.PDS.SUMMARY_FOR | translate: { dayStr: dayStr } }} }

schedule {{ T.PDS.START_END | translate }} –

check {{ T.PDS.TASKS_COMPLETED | translate }} /

timer {{ T.PDS.TIME_SPENT_AND_ESTIMATE_LABEL | translate }} /

@if (isBreakTrackingSupport$ | async) { free_breakfast {{ T.PDS.BREAK_LABEL | translate }} /

} @let focusSessionCount = focusSessionCount$ | async; @if (focusSessionCount) { center_focus_strong {{ T.PDS.FOCUS_SUMMARY | translate }} {{ focusSessionCount }} / {{ focusSessionDuration$ | async | msToClockString }}

} @if (simpleCounterSummaryItems()?.length) { @for (simpleCounter of simpleCounterSummaryItems(); track simpleCounter.id) { } } @if (typeof dailySummaryNoteTxt() === 'string') { visibility_off } @else { note_alt } @if (tasksWorkedOnOrDoneOrRepeatableFlat$ | async; as tasks) { @if (tasks?.length) { } @else if (isArchiveLoaded()) {

{{ T.PDS.NO_TASKS | translate }}

} @else { } @if (tasks?.length) { }

{{ T.PDS.WEEK | translate }}

@if (isForToday) { } } @else { } @if (!(configService.evaluation$ | async)?.isHideEvaluationSheet) { } @if (isForToday) { } @if (isForToday) { wb_sunny {{ T.PDS.SAVE_AND_GO_HOME | translate }} } @if (!isForToday) { wb_sunny {{ T.PDS.CLEAR_ALL_CONTINUE | translate }} }