diff --git a/src/app/profile/profile-structure/profile-structure.component.html b/src/app/profile/profile-structure/profile-structure.component.html index 804302d5d287418feb948e407f6a63c00fa8fc7e..c21ec7c554dba8381e234404249429e24bba0042 100644 --- a/src/app/profile/profile-structure/profile-structure.component.html +++ b/src/app/profile/profile-structure/profile-structure.component.html @@ -108,7 +108,7 @@ [isPublic]="isPublic" /> </div> - <div *ngIf="membersWithJobWithPO.length > 0" class="section"> + <div class="section"> <div class="sectionHeader"> <p class="sectionTitle uppercase">Accompagnant·es numériques</p> <app-button @@ -132,7 +132,7 @@ [queryParams]="{ id: structure._id }" /> </div> - <div class="sectionContent members"> + <div *ngIf="membersWithJobWithPO.length > 0" class="sectionContent members"> <app-member-card *ngFor="let member of membersWithJobWithPO" [member]="member" @@ -140,6 +140,11 @@ [showEmployer]="false" /> </div> + <div *ngIf="membersWithJobWithPO.length === 0" class="sectionContent infoSection"> + Aucun accompagnant numérique n’est référencé dans cette structure.<ng-container *ngIf="!isPending"> + Si vous souhaitez en inviter, cliquez sur le bouton “Gérer les membres†ci-dessus.</ng-container + > + </div> </div> <div *ngIf="!isPublic && !this.personalOffer && userProfile.job?.hasPersonalOffer && !isPending"