diff --git a/src/app/profile/dashboard/orientations-table/orientations-table.component.html b/src/app/profile/dashboard/orientations-table/orientations-table.component.html index 900d8ef1847ee3735921e2cb83042ae8ddc25e92..a92ac6419915a73658be8b7c0fe5fd4c900e142a 100644 --- a/src/app/profile/dashboard/orientations-table/orientations-table.component.html +++ b/src/app/profile/dashboard/orientations-table/orientations-table.component.html @@ -4,8 +4,8 @@ <div>Accompagnant souhaité</div> <div>Structure choisie</div> <div>Statut</div> - <div *ngIf="type === 'myOrientations'">Type d'orientation</div> - <div *ngIf="type !== 'myOrientations'">Action</div> + <div *ngIf="from === 'myOrientations'">Type d'orientation</div> + <div *ngIf="from !== 'myOrientations'">Action</div> <div> </div> </div> <a @@ -64,7 +64,9 @@ class="hide-on-mobile" [ariaLabel]="'Structure choisie : ' + orientation.structureChoice[0]?.structureName" [label]="orientation.structureChoice[0]?.structureName" - [iconName]="'structureCategory_private'" + [iconName]=" + this.orientationService.getStructureTypeIcon(orientation.structureChoice[0]?.structureType?.category) + " [type]="'entity light'" /> <app-svg-icon @@ -73,7 +75,7 @@ [ariaLabel]="'Structure choisie : ' + orientation.structureChoice[0]?.structureName" [iconClass]="'icon-32'" [folder]="'ico'" - [icon]="'structureCategory_private'" + [icon]="this.orientationService.getStructureTypeIcon(orientation.structureChoice[0]?.structureType?.category)" /> </div> <div> @@ -88,7 +90,7 @@ </div> <div> <app-tag-item - *ngIf="type === 'myOrientations' && orientation.accompanimentType" + *ngIf="from === 'myOrientations' && orientation.accompanimentType" [label]="this.orientationService.getTagProperty('type', orientation.accompanimentType, 'label')" [size]="'small'" [color]="this.orientationService.getTagProperty('type', orientation.accompanimentType, 'color')" @@ -96,7 +98,7 @@ [iconName]="this.orientationService.getTagProperty('type', orientation.accompanimentType, 'icon')" /> <app-tag-item - *ngIf="type !== 'myOrientations' && orientation.action" + *ngIf="from !== 'myOrientations' && orientation.action" [label]="this.orientationService.getTagProperty('action', orientation.action, 'label')" [size]="'small'" [color]="this.orientationService.getTagProperty('action', orientation.action, 'color')"