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> <tbody>
<tr *ngFor="let p of policies"> <tr *ngFor="let p of policies">
<td> <td>
<a href="#">{{p.name}}</a> <a href="#" appStopClick (click)="edit(p)">{{p.name}}</a>
</td> <span class="badge badge-success" *ngIf="p.enabled">{{'enabled' | i18n}}</span>
<td class="table-list-options"> <small class="text-muted d-block">{{p.description}}</small>
</td> </td>
</tr> </tr>
</tbody> </tbody>