Commit 16d4deb9 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #20773 TIME 0:10 display message if empty users

parent 4404ef74
......@@ -650,6 +650,7 @@
"groupsToManage": "Choose the authorized assignment groups",
"unlinkGroup": "Unlink group",
"emptyGroups": "No groups available to associate",
"emptyGroupUsers": "No users associated with this group"
"emptyGroupUsers": "No users associated with this group",
"emptyUsers": "No users available to associate"
}
}
\ No newline at end of file
......@@ -649,6 +649,7 @@
"groupsToManage": "Choisir les groupes d'affectations autorisés",
"unlinkGroup": "Dissocier le groupe",
"emptyGroups": "Aucun groupe disponible à associer",
"emptyGroupUsers": "Aucun utilisateur associé à ce groupe"
"emptyGroupUsers": "Aucun utilisateur associé à ce groupe",
"emptyUsers": "Aucun utilisateur disponible à associer"
}
}
......@@ -4,7 +4,7 @@
</ion-toolbar>
</ion-header>
<ion-content>
<ion-list>
<ion-list *ngIf="usersList.length > 0">
<ion-virtual-scroll [items]="usersList" approxItemHeight="50px" style="height: 450px;">
<ion-item button *virtualItem="let element" (click)="selectUser(element)">
<ion-label>
......@@ -13,4 +13,7 @@
</ion-item>
</ion-virtual-scroll>
</ion-list>
<ion-item lines="none" *ngIf="usersList.length === 0" style="text-align: center; font-size: 20px; color: gray; margin-top: 35%;">
<ion-label>{{'lang.emptyUsers' | translate}}</ion-label>
</ion-item>
</ion-content>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment