Skip to content
Snippets Groups Projects
Commit 0232284a authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

fix(profile): add message if no social worker in structure

parent c0a6857b
No related branches found
No related tags found
1 merge request!783V3.0.0
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment