Back to Super Productivity

Work View.Component

src/app/features/work-view/work-view.component.html

18.4.41.5 KB
Original Source

@if (!(workContextService.isContextChangingWithDelay$ | async)) {

@if (!(workContextService.isHasTasksToWorkOn$ | async)) {

@if (hasDoneTasks() || (workContextService.doneTodayArchived$ | async)) { {{ T.WW.NO_PLANNED_TASK_ALL_DONE | translate }} } @else { {{ T.WW.NO_PLANNED_TASKS | translate }} }

@if (!overdueTasks().length) { playlist_add {{ T.WW.ADD_MORE | translate }} } } @if (customizedUndoneTasks(); as customized) { @if (customized.grouped) { @for (group of customized.grouped | keyvalue; track group.key) { } } @else if (sections().length && !customizerService.isCustomized()) { @let bySection = undoneTasksBySection();

@for (section of sections(); track section.id) {

drag_indicator more_vertedit {{ T.G.EDIT | translate }} delete {{ T.G.DELETE | translate }} } } @else { } } @if (isShowOverduePanel()) { wb_sunny {{ T.F.TASK.CMP.ADD_TO_MY_DAY | translate }}

} @if (laterTodayTasks().length > 0 && isOnTodayList()) {

} @if (hasDoneTasks()) { @let nrOfDoneArchived = doneTasks()?.length === 0 ? (workContextService.doneTodayArchived$ | async) : 0;

@if (hasDoneTasks() && (!isOnTodayList() || !isFinishDayEnabled())) { done_all {{ T.WW.MOVE_DONE_TO_ARCHIVE | translate }} }

} @if (isShowRepeatCfgsPanel()) {

@for (repeatCfg of repeatCfgsForContext(); track repeatCfg.id) { }

} @if (isOnTodayList() && isFinishDayEnabled()) { }

@if (isShowBacklog()) { @if (splitInputPos !== 100) {

} } }