Back to Kavita

Activity Card.Component

UI/Web/src/app/_single-module/activity-card/activity-card.component.html

0.9.0722 B
Original Source

@let activeData = this.session().activityData[0];

{{ activeData.clientInfo?.platform | clientDevicePlatform }}{{activeData.clientInfo?.clientType | clientDeviceClientType}}

{{t('started-label')}}{{activeData.startTimeUtc | utcToLocalDate | timeAgo}}

{{t('total-pages-label')}}{{totalPages() | defaultValue}} @if (totalWords() > 0) { {{t('total-words-label')}}{{totalWords() | defaultValue}} } {{t('total-chapters-label')}}{{distinctChapters() | defaultValue}}

{{(activeData.startPage + activeData.pagesRead)}}/{{activeData.totalPages}}

{{activeData.seriesName}}

@if (activeData.chapterTitle) { {{activeData.chapterTitle}} } @else { {{t('view-label')}} } {{activeData.libraryName}}

{{session().username}}