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 c81d453cb131c529697b68296e2c593befc58328..66b1cfefea7d89e3f12ff8e171cae691be0ba8d6 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 @@ -66,10 +66,17 @@ <app-svg-icon [type]="'ico'" [icon]="'demarches'" [iconClass]="'icon-32'"></app-svg-icon> <h2>Démarches</h2> </div> - <div fxLayout="row wrap" fxLayoutGap="24px"> - <div *ngFor="let accompagnement of structure.accompagnementDesDemarches"> - <app-logo-card [name]="accompagnement"></app-logo-card> + <div fxLayout="column"> + <div fxLayout="row wrap" fxLayoutGap="24px"> + <div *ngFor="let accompagnement of structure.accompagnementDesDemarches"> + <app-logo-card [name]="accompagnement"></app-logo-card> + </div> </div> + <p *ngIf="isOtherSection"> + Tout ce qui est en lien avec la création d'entreprise ex : consultation de sites de références (BPI, Je créé + dans ma région, ...), inscription à des newsletters, aide pour trouver des sites (CMA, CCI, Urssaf,...), + recherches d'infos sur moteur de recherche... + </p> </div> </div> <!-- Services --> diff --git a/src/app/structure-list/components/structure-details/structure-details.component.ts b/src/app/structure-list/components/structure-details/structure-details.component.ts index 995d148ac0cef7c5f5d56353fe8e5c7ec8c5f1bd..691f95295855684fe941e4ba1be6184652c91a00 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.ts +++ b/src/app/structure-list/components/structure-details/structure-details.component.ts @@ -22,6 +22,7 @@ export class StructureDetailsComponent implements OnInit { public baseSkills: Module[]; public accessRights: Module[]; public printMode = false; + public isOtherSection = false; constructor(route: ActivatedRoute, private printService: PrintService, private searchService: SearchService) { route.url.subscribe((url) => { @@ -46,6 +47,11 @@ export class StructureDetailsComponent implements OnInit { this.printService.onDataReady(); } }); + const index = this.structure.accompagnementDesDemarches.indexOf('Autres'); + if (index > -1) { + this.structure.accompagnementDesDemarches.splice(index, 1); + this.isOtherSection = true; + } } public close(): void {