UI/Web/src/app/statistics/_components/activity-graph/activity-graph.component.html
@if (readingActivityResource.hasValue()) { @let aggregatedCountValue = aggregatedCount(); @if (aggregatedCountValue.totalPages > 0 || aggregatedCountValue.totalWords > 0) {
}
| {{ t('day-of-week-alt') }} | @for (month of months(); track month.label) { {{ month.label }}{{ month.label }} | } @for (dayIndex of [0, 1, 2, 3, 4, 5, 6]; track dayIndex) { | {{ dayIndex | dayLabel }} {{ dayIndex | dayLabel:true }} | @for (week of weeks(); track $index) { @let day = week.days[dayIndex]; @if (day && day.totalTimeReadingSeconds > 0) { | } @else if (day !== null) { | } @else { | } } }
{{ t('less') }} @for (level of [0, 1, 2, 3, 4]; track level) {
} {{ t('more') }}
{{t('no-activity-tooltip', {date: item.date | date:'MMMM d, yyyy'})}}
{{ item.date | date:'MMMM d, yyyy' }}
{{ t('reading-time') }}: {{ item.totalTimeReadingSeconds | duration}}
{{ t('pages') }}: {{ item.totalPages }}
{{ t('words') }}: {{ item.totalWords | number }}
{{ t('chapters') }}: {{ item.totalChaptersFullyRead }}
}