Skip to content
Snippets Groups Projects
Commit 885c85b9 authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix(other) : Fix design 'Autres' in 'Démarches'

parent 87921294
No related branches found
No related tags found
2 merge requests!31Recette,!25Change close btn details and add 'autres' section to 'Démarche'
......@@ -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 -->
......
......@@ -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 {
......
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