1
0
mirror of https://github.com/bitwarden/web synced 2026-01-13 22:13:46 +00:00

[Reset Password] Enrollment actions (#900)

* [Reset Password] Enrollment actions

* Update jslib (0951424 -> f4f00b1)

* Added status icon
This commit is contained in:
Vincent Salucci
2021-04-05 09:48:46 -05:00
committed by GitHub
parent 0aee3b7370
commit 32e9124b9c
5 changed files with 88 additions and 2 deletions

View File

@@ -65,6 +65,11 @@
title="{{'organizationIsDisabled' | i18n}}" aria-hidden="true"></i>
<span class="sr-only">{{'organizationIsDisabled' | i18n}}</span>
</ng-container>
<ng-container *ngIf="o.isResetPasswordEnrolled">
<i class="fa fa-key" appStopProp title="{{'enrolledPasswordReset' | i18n}}"
aria-hidden="true"></i>
<span class="sr-only">{{'enrolledPasswordReset' | i18n}}</span>
</ng-container>
</td>
<td class="table-list-options">
<div class="dropdown" appListDropdown>
@@ -74,6 +79,16 @@
<i class="fa fa-cog fa-lg" aria-hidden="true"></i>
</button>
<div class="dropdown-menu dropdown-menu-right">
<a *ngIf="!o.isResetPasswordEnrolled" class="dropdown-item" href="#" appStopClick
(click)="toggleResetPasswordEnrollment(o)">
<i class="fa fa-fw fa-key" aria-hidden="true"></i>
{{'enrollPasswordReset' | i18n}}
</a>
<a *ngIf="o.isResetPasswordEnrolled" class="dropdown-item" href="#" appStopClick
(click)="toggleResetPasswordEnrollment(o)">
<i class="fa fa-fw fa-undo" aria-hidden="true"></i>
{{'withdrawPasswordReset' | i18n}}
</a>
<ng-container *ngIf="o.useSso && o.identifier">
<a *ngIf="o.ssoBound; else linkSso" class="dropdown-item" href="#" appStopClick
(click)="unlinkSso(o)">