mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[PM-16824] update new device verification notice page one so learn more link opens in browser from desktop (#12731)
This commit is contained in:
@@ -1,12 +1,7 @@
|
|||||||
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
||||||
<p class="tw-text-center" bitTypography="body1">
|
<p class="tw-text-center" bitTypography="body1">
|
||||||
{{ "newDeviceVerificationNoticeContentPage1" | i18n }}
|
{{ "newDeviceVerificationNoticeContentPage1" | i18n }}
|
||||||
<a
|
<a bitLink (click)="navigateToNewDeviceVerificationHelp($event)" href="#">
|
||||||
bitLink
|
|
||||||
href="https://bitwarden.com/help/new-device-verification/"
|
|
||||||
rel="noreferrer"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
{{ "learnMore" | i18n }}.
|
{{ "learnMore" | i18n }}.
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -121,4 +121,10 @@ export class NewDeviceVerificationNoticePageOneComponent implements OnInit, Afte
|
|||||||
|
|
||||||
await this.router.navigate(["/vault"]);
|
await this.router.navigate(["/vault"]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
navigateToNewDeviceVerificationHelp(event: Event) {
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
|
this.platformUtilsService.launchUri("https://bitwarden.com/help/new-device-verification/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user