policies enabled badge

This commit is contained in:
Kyle Spearrin 2020-01-15 17:05:08 -05:00
parent a2472e0cf5
commit 5b770084c9
1 changed files with 3 additions and 4 deletions

View File

@ -9,10 +9,9 @@
<tbody>
<tr *ngFor="let p of policies">
<td>
<a href="#">{{p.name}}</a>
</td>
<td class="table-list-options">
<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>