Skip to content
Snippets Groups Projects
Commit 6f32ee86 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: add admin structureName + bug fix on sturcutredetails

parent de230889
No related branches found
No related tags found
2 merge requests!85Recette,!84Dev
......@@ -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>
......
export class DemandAttachment {
userEmail: string;
structureId: number;
structureName: string;
}
......@@ -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>
......
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