mirror of
https://github.com/bitwarden/browser
synced 2025-12-30 07:03:26 +00:00
* Commits for policies/edit/strings * more initial commits of policy/edit/strings * More changes for require sso * Updated strings to match policy string patterns * Updated false enable on error * Removed sso prevalidate prereq // adjusted callout * Updated policy array creation and added display value
25 lines
1008 B
HTML
25 lines
1008 B
HTML
<app-callout [type]="'warning'">
|
|
<p>{{'webPoliciesDeprecationWarning' | i18n}}</p>
|
|
<button type="button" class="btn btn-outline-secondary"
|
|
(click)="goToEnterprisePortal()">{{'businessPortal' | i18n}}</button>
|
|
</app-callout>
|
|
<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">
|
|
<a href="#" appStopClick (click)="edit(p)">{{p.name}}</a>
|
|
<span class="badge badge-success" *ngIf="p.enabled">{{'enabled' | i18n}}</span>
|
|
<small class="text-muted d-block">{{p.description}}</small>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<ng-template #editTemplate></ng-template>
|