mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
Updates UI text and translations for the login with device feature to be more consistent and clear across desktop, browser and web clients. Changes include: - Updated titles and content for login via auth request components - Revised translations for device approval modal - Updated notification titles and alert messages - Simplified device management URL handling - Added missing translations across platforms Resolves PM-3953
56 lines
1.7 KiB
HTML
56 lines
1.7 KiB
HTML
<div class="tw-text-center">
|
|
<ng-container *ngIf="flow === Flow.StandardAuthRequest">
|
|
<p *ngIf="clientType !== ClientType.Web">
|
|
{{ "notificationSentDevicePart1" | i18n }}
|
|
<a
|
|
bitLink
|
|
linkType="primary"
|
|
class="tw-cursor-pointer"
|
|
[href]="deviceManagementUrl"
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
>{{ "notificationSentDeviceAnchor" | i18n }}</a
|
|
>. {{ "notificationSentDevicePart2" | i18n }}
|
|
</p>
|
|
<p *ngIf="clientType === ClientType.Web">
|
|
{{ "notificationSentDeviceComplete" | i18n }}
|
|
</p>
|
|
|
|
<div class="tw-font-semibold">{{ "fingerprintPhraseHeader" | i18n }}</div>
|
|
<code class="tw-text-code">{{ fingerprintPhrase }}</code>
|
|
|
|
<button
|
|
*ngIf="showResendNotification"
|
|
type="button"
|
|
bitButton
|
|
block
|
|
buttonType="secondary"
|
|
class="tw-mt-4"
|
|
(click)="startStandardAuthRequestLogin()"
|
|
>
|
|
{{ "resendNotification" | i18n }}
|
|
</button>
|
|
|
|
<div *ngIf="clientType !== ClientType.Browser" class="tw-mt-4">
|
|
<span>{{ "needAnotherOptionV1" | i18n }}</span>
|
|
<a [routerLink]="backToRoute" bitLink linkType="primary">{{
|
|
"viewAllLogInOptions" | i18n
|
|
}}</a>
|
|
</div>
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="flow === Flow.AdminAuthRequest">
|
|
<p>{{ "youWillBeNotifiedOnceTheRequestIsApproved" | i18n }}</p>
|
|
|
|
<div class="tw-font-semibold">{{ "fingerprintPhraseHeader" | i18n }}</div>
|
|
<code class="tw-text-code">{{ fingerprintPhrase }}</code>
|
|
|
|
<div class="tw-mt-4">
|
|
<span>{{ "troubleLoggingIn" | i18n }}</span>
|
|
<a [routerLink]="backToRoute" bitLink linkType="primary">{{
|
|
"viewAllLogInOptions" | i18n
|
|
}}</a>
|
|
</div>
|
|
</ng-container>
|
|
</div>
|