Merge pull request #4011 from dpalou/MOBILE-2768

MOBILE-2768 policy: Display Inactive badge in mobile too
main
Pau Ferrer Ocaña 2024-04-15 10:37:36 +02:00 committed by GitHub
commit 9380d24cc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@
<ion-badge color="success" *ngIf="policy.status === activeStatus"> <ion-badge color="success" *ngIf="policy.status === activeStatus">
{{ 'core.policy.status1' | translate }} {{ 'core.policy.status1' | translate }}
</ion-badge> </ion-badge>
<ion-badge color="danger" *ngIf="!isPreviousVersion && policy.status === inactiveStatus">
{{ 'core.policy.status2' | translate }}
</ion-badge>
<ion-badge color="info" *ngIf="policy.optional"> <ion-badge color="info" *ngIf="policy.optional">
{{ 'core.policy.policydocoptionalyes' | translate }} {{ 'core.policy.policydocoptionalyes' | translate }}
</ion-badge> </ion-badge>