mirror of
https://github.com/bitwarden/web
synced 2026-01-11 13:03:16 +00:00
22 lines
793 B
HTML
22 lines
793 B
HTML
<div class="page-header d-flex">
|
|
<h1>{{ "policies" | i18n }}</h1>
|
|
</div>
|
|
<ng-container *ngIf="loading">
|
|
<i class="fa fa-spinner fa-spin text-muted" title="{{ 'loading' | i18n }}" aria-hidden="true"></i>
|
|
<span class="sr-only">{{ "loading" | i18n }}</span>
|
|
</ng-container>
|
|
<table class="table table-hover table-list" *ngIf="!loading">
|
|
<tbody>
|
|
<tr *ngFor="let p of policies">
|
|
<td *ngIf="p.display(organization)">
|
|
<a href="#" appStopClick (click)="edit(p)">{{ p.name | i18n }}</a>
|
|
<span class="badge badge-success" *ngIf="policiesEnabledMap.get(p.type)">{{
|
|
"enabled" | i18n
|
|
}}</span>
|
|
<small class="text-muted d-block">{{ p.description | i18n }}</small>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<ng-template #editTemplate></ng-template>
|