Back to Kavita

Client Device Card.Component

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

0.9.0904 B
Original Source
@if (isEditMode()) { {{t('save')}} } @else { {{clientDevice().friendlyName}} }

@if (clientDevice().uiFingerprint === clientInfoService.getDeviceId()) { {{t('active')}} } {{clientDevice().currentClientInfo.clientType | clientDeviceClientType}} {{clientDevice().currentClientInfo.authType | clientDeviceAuthType}} {{clientDevice().ownerUsername}}

{{ t('browser-label') }}:{{browserInfo() | defaultValue}}

{{ t('platform-label') }}:{{clientDevice().currentClientInfo.platform | clientDevicePlatform}}

{{ t('screen-label') }}:{{screenInfo() | defaultValue}}

@if (clientDevice().currentClientInfo.appVersion) {

{{ t('version-label') }}:{{clientDevice().currentClientInfo.appVersion}}

}

{{ t('first-seen-label') }}:{{clientDevice().firstSeenUtc | utcToLocalTime: 'shortDate' | defaultDate}}

{{ t('last-seen-label') }}:{{clientDevice().lastSeenUtc | utcToLocalDate | timeAgo | sentenceCase}}