diff --git a/apps/browser/src/vault/popup/components/vault/add-edit.component.html b/apps/browser/src/vault/popup/components/vault/add-edit.component.html index de8315d302..78635ac482 100644 --- a/apps/browser/src/vault/popup/components/vault/add-edit.component.html +++ b/apps/browser/src/vault/popup/components/vault/add-edit.component.html @@ -131,7 +131,12 @@ -
+
{{ "typePasskey" | i18n }} diff --git a/apps/browser/src/vault/popup/components/vault/add-edit.component.ts b/apps/browser/src/vault/popup/components/vault/add-edit.component.ts index 48de509a5a..8ada1a36df 100644 --- a/apps/browser/src/vault/popup/components/vault/add-edit.component.ts +++ b/apps/browser/src/vault/popup/components/vault/add-edit.component.ts @@ -1,4 +1,4 @@ -import { Location } from "@angular/common"; +import { DatePipe, Location } from "@angular/common"; import { Component } from "@angular/core"; import { ActivatedRoute, Router } from "@angular/router"; import { firstValueFrom } from "rxjs"; @@ -66,6 +66,7 @@ export class AddEditComponent extends BaseAddEditComponent { logService: LogService, sendApiService: SendApiService, dialogService: DialogService, + datePipe: DatePipe, ) { super( cipherService, @@ -83,6 +84,7 @@ export class AddEditComponent extends BaseAddEditComponent { organizationService, sendApiService, dialogService, + datePipe, ); } diff --git a/apps/browser/src/vault/popup/components/vault/view.component.html b/apps/browser/src/vault/popup/components/vault/view.component.html index dcdb1cab12..606807140e 100644 --- a/apps/browser/src/vault/popup/components/vault/view.component.html +++ b/apps/browser/src/vault/popup/components/vault/view.component.html @@ -144,12 +144,16 @@
-
+
{{ "typePasskey" | i18n }} - {{ "dateCreated" | i18n }} - {{ cipher.login.fido2Credentials[0].creationDate | date: "short" }} + {{ fido2CredentialCreationDateValue }}
diff --git a/apps/browser/src/vault/popup/components/vault/view.component.ts b/apps/browser/src/vault/popup/components/vault/view.component.ts index c0e1032f4b..63512ebe30 100644 --- a/apps/browser/src/vault/popup/components/vault/view.component.ts +++ b/apps/browser/src/vault/popup/components/vault/view.component.ts @@ -1,4 +1,4 @@ -import { Location } from "@angular/common"; +import { DatePipe, Location } from "@angular/common"; import { ChangeDetectorRef, Component, NgZone } from "@angular/core"; import { ActivatedRoute, Router } from "@angular/router"; import { Subject, firstValueFrom, takeUntil } from "rxjs"; @@ -96,6 +96,7 @@ export class ViewComponent extends BaseViewComponent { logService: LogService, fileDownloadService: FileDownloadService, dialogService: DialogService, + datePipe: DatePipe, ) { super( cipherService, @@ -117,6 +118,7 @@ export class ViewComponent extends BaseViewComponent { stateService, fileDownloadService, dialogService, + datePipe, ); } diff --git a/apps/desktop/src/vault/app/vault/add-edit.component.html b/apps/desktop/src/vault/app/vault/add-edit.component.html index 766d70f358..4ab974edd0 100644 --- a/apps/desktop/src/vault/app/vault/add-edit.component.html +++ b/apps/desktop/src/vault/app/vault/add-edit.component.html @@ -119,10 +119,11 @@ class="box-content-row text-muted" *ngIf="cipher.login.hasFido2Credentials && !cloneMode" appBoxRow + tabindex="0" + attr.aria-label="{{ 'typePasskey' | i18n }} {{ fido2CredentialCreationDateValue }}" > {{ "typePasskey" | i18n }} - {{ "dateCreated" | i18n }} - {{ cipher.login.fido2Credentials[0].creationDate | date: "short" }} + {{ fido2CredentialCreationDateValue }}
diff --git a/apps/desktop/src/vault/app/vault/add-edit.component.ts b/apps/desktop/src/vault/app/vault/add-edit.component.ts index 7dc97a5bad..d786ba21d2 100644 --- a/apps/desktop/src/vault/app/vault/add-edit.component.ts +++ b/apps/desktop/src/vault/app/vault/add-edit.component.ts @@ -1,3 +1,4 @@ +import { DatePipe } from "@angular/common"; import { Component, NgZone, OnChanges, OnDestroy, ViewChild } from "@angular/core"; import { NgForm } from "@angular/forms"; @@ -46,6 +47,7 @@ export class AddEditComponent extends BaseAddEditComponent implements OnChanges, organizationService: OrganizationService, sendApiService: SendApiService, dialogService: DialogService, + datePipe: DatePipe, ) { super( cipherService, @@ -63,6 +65,7 @@ export class AddEditComponent extends BaseAddEditComponent implements OnChanges, organizationService, sendApiService, dialogService, + datePipe, ); } diff --git a/apps/desktop/src/vault/app/vault/view.component.html b/apps/desktop/src/vault/app/vault/view.component.html index 19285d264a..1a85e7ef92 100644 --- a/apps/desktop/src/vault/app/vault/view.component.html +++ b/apps/desktop/src/vault/app/vault/view.component.html @@ -119,10 +119,14 @@
-
+
{{ "typePasskey" | i18n }} - {{ "dateCreated" | i18n }} - {{ cipher.login.fido2Credentials[0].creationDate | date: "short" }} + {{ fido2CredentialCreationDateValue }}
-
+