mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
* SM-1159: Rename service accounts to machine accounts. Visible text only. * SM-1159: Second round of adding service to machine account renames * SM-1159: Change title * SM-1159: Fix typo * SM-1159: Add more keys * SM-1159: Reordered keys * SM-1159: Keys update
36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
|
<bit-dialog dialogSize="default">
|
|
<ng-container bitDialogTitle>
|
|
<span>{{ title }}</span>
|
|
<span class="tw-text-sm tw-normal-case tw-text-muted">
|
|
<ng-container *ngIf="data.serviceAccounts.length == 1">
|
|
{{ data.serviceAccounts[0].name }}
|
|
</ng-container>
|
|
<ng-container *ngIf="data.serviceAccounts.length > 1">
|
|
{{ data.serviceAccounts.length }}
|
|
{{ "machineAccounts" | i18n }}
|
|
</ng-container>
|
|
</span>
|
|
</ng-container>
|
|
|
|
<div bitDialogContent>
|
|
<bit-callout type="warning" [title]="'warning' | i18n">
|
|
{{ dialogContent }}
|
|
</bit-callout>
|
|
<bit-form-field>
|
|
<bit-label>{{ dialogConfirmationLabel }}</bit-label>
|
|
<input bitInput formControlName="confirmDelete" />
|
|
</bit-form-field>
|
|
</div>
|
|
|
|
<ng-container bitDialogFooter>
|
|
<button type="submit" bitButton buttonType="danger" bitFormButton>
|
|
{{ title }}
|
|
</button>
|
|
<button type="button" bitButton buttonType="secondary" bitFormButton bitDialogClose>
|
|
{{ "cancel" | i18n }}
|
|
</button>
|
|
</ng-container>
|
|
</bit-dialog>
|
|
</form>
|