diff --git a/src/app/admin/components/claim-structure/claim-structure.component.html b/src/app/admin/components/claim-structure/claim-structure.component.html index b272cebed93b3cd7cec199785d00692e7a5fe96f..aa0adbc5878057c773c8d656acb826ee2fe6ffcb 100644 --- a/src/app/admin/components/claim-structure/claim-structure.component.html +++ b/src/app/admin/components/claim-structure/claim-structure.component.html @@ -8,7 +8,7 @@ <tbody> <tr *ngFor="let demand of demandsAttachment"> <td>{{ demand.userEmail }}</td> - <td>{{ demand.structureId }}</td> + <td>{{ demand.structureName }}</td> <td> <button (click)="acceptDemand(demand)">Valider</button><button (click)="refuseDemand(demand)">Refuser</button> </td> diff --git a/src/app/admin/models/demandAttachment.model.ts b/src/app/admin/models/demandAttachment.model.ts index b19d1f375c47a3aa9c379d567ec09400ed6de655..f7b9ae4b4ebcc30ef465e7721375ba0a7e5de5d5 100644 --- a/src/app/admin/models/demandAttachment.model.ts +++ b/src/app/admin/models/demandAttachment.model.ts @@ -1,4 +1,5 @@ export class DemandAttachment { userEmail: string; structureId: number; + structureName: string; } diff --git a/src/app/structure-list/components/structure-details/structure-details.component.html b/src/app/structure-list/components/structure-details/structure-details.component.html index 803f77bdf6c632862698beef3a6be853370b124f..f0393fbffb4fdcaec22531c5ea93b4062d67ef57 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.html +++ b/src/app/structure-list/components/structure-details/structure-details.component.html @@ -102,7 +102,12 @@ </div> </div> <div fxLayout="column" fxFlex="50%"> - <div *ngIf="structure.contactMail" fxLayout="row" fxLayoutAlign="none center" fxLayoutGap="13px"> + <div + *ngIf="structure.contactMail && structure.contactMail !== 'unknown@unknown.com'" + fxLayout="row" + fxLayoutAlign="none center" + fxLayoutGap="13px" + > <app-svg-icon [type]="'ico'" [icon]="'email'"></app-svg-icon> <p>{{ structure.contactMail }}</p> </div> @@ -186,7 +191,7 @@ > <p class="no-margin">{{ getAccessLabel(acces) }}</p> </div> - <p class="no-margin">Accessibles aux personnes à mobilité réduite</p> + <p *ngIf="structure.pmrAccess" class="no-margin">Accessibles aux personnes à mobilité réduite</p> </div> <div *ngFor="let public of structure.publics" fxLayout="row" fxLayoutAlign="none flex-end" fxLayoutGap="8px"> <p class="no-margin">{{ getPublicLabel(public) }}</p>