1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 18:53:29 +00:00

Recover lost member page changes

This commit is contained in:
Shane Melton
2022-07-25 15:11:36 -07:00
parent 1e5c7ba728
commit 568f59e171

View File

@@ -1,6 +1,7 @@
<div class="page-header"> <div class="container page-content">
<h1>{{ "people" | i18n }}</h1> <div class="page-header d-flex">
<div class="mt-2 d-flex"> <h1>{{ "members" | i18n }}</h1>
<div class="ml-auto d-flex">
<div class="btn-group btn-group-sm" role="group"> <div class="btn-group btn-group-sm" role="group">
<button <button
type="button" type="button"
@@ -103,21 +104,21 @@
{{ "inviteUser" | i18n }} {{ "inviteUser" | i18n }}
</button> </button>
</div> </div>
</div> </div>
<ng-container *ngIf="loading"> <ng-container *ngIf="loading">
<i <i
class="bwi bwi-spinner bwi-spin text-muted" class="bwi bwi-spinner bwi-spin text-muted"
title="{{ 'loading' | i18n }}" title="{{ 'loading' | i18n }}"
aria-hidden="true" aria-hidden="true"
></i> ></i>
<span class="sr-only">{{ "loading" | i18n }}</span> <span class="sr-only">{{ "loading" | i18n }}</span>
</ng-container> </ng-container>
<ng-container <ng-container
*ngIf=" *ngIf="
!loading && !loading &&
(isPaging() ? pagedUsers : (users | search: searchText:'name':'email':'id')) as searchedUsers (isPaging() ? pagedUsers : (users | search: searchText:'name':'email':'id')) as searchedUsers
" "
> >
<p *ngIf="!searchedUsers.length">{{ "noUsersInList" | i18n }}</p> <p *ngIf="!searchedUsers.length">{{ "noUsersInList" | i18n }}</p>
<ng-container *ngIf="searchedUsers.length"> <ng-container *ngIf="searchedUsers.length">
<app-callout <app-callout
@@ -158,9 +159,12 @@
<span bitBadge badgeType="warning" *ngIf="u.status === userStatusType.Accepted">{{ <span bitBadge badgeType="warning" *ngIf="u.status === userStatusType.Accepted">{{
"accepted" | i18n "accepted" | i18n
}}</span> }}</span>
<span bitBadge badgeType="secondary" *ngIf="u.status === userStatusType.Deactivated">{{ <span
"revoked" | i18n bitBadge
}}</span> badgeType="secondary"
*ngIf="u.status === userStatusType.Deactivated"
>{{ "revoked" | i18n }}</span
>
<small class="text-muted d-block" *ngIf="u.name">{{ u.name }}</small> <small class="text-muted d-block" *ngIf="u.name">{{ u.name }}</small>
</td> </td>
<td> <td>
@@ -282,12 +286,13 @@
</tbody> </tbody>
</table> </table>
</ng-container> </ng-container>
</ng-container> </ng-container>
<ng-template #addEdit></ng-template> <ng-template #addEdit></ng-template>
<ng-template #groupsTemplate></ng-template> <ng-template #groupsTemplate></ng-template>
<ng-template #eventsTemplate></ng-template> <ng-template #eventsTemplate></ng-template>
<ng-template #confirmTemplate></ng-template> <ng-template #confirmTemplate></ng-template>
<ng-template #resetPasswordTemplate></ng-template> <ng-template #resetPasswordTemplate></ng-template>
<ng-template #bulkStatusTemplate></ng-template> <ng-template #bulkStatusTemplate></ng-template>
<ng-template #bulkConfirmTemplate></ng-template> <ng-template #bulkConfirmTemplate></ng-template>
<ng-template #bulkRemoveTemplate></ng-template> <ng-template #bulkRemoveTemplate></ng-template>
</div>