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

feat(structure-list): add city display on card

parent 3d658cc7
No related branches found
No related tags found
2 merge requests!178release V1.10.0,!120Dev
<div class="structure" fxLayout="column" (click)="cardClicked()" (mouseenter)="cardHover()">
<div class="headerStructure" fxLayout="row" fxLayoutAlign="space-between center" fxLayoutGap="16px">
<span class="structure-name" [ngClass]="{ notClaimed: !isClaimed }">{{ structure.structureName }}</span>
<div
*ngIf="structure.distance"
class="distanceStructure"
fxLayout="row"
fxLayoutAlign="end center"
fxLayoutGap="20px"
>
<div fxLayout="column" fxLayoutAlign="end">
<span class="structure-name" [ngClass]="{ notClaimed: !isClaimed }">{{ structure.structureName }}</span>
<span class="typeStructure">{{ structure.getLabelTypeStructure() }}</span>
</div>
<div class="distanceStructure" fxLayout="column" fxLayoutAlign="none end">
<div>
{{ this.structure.address.commune }}
</div>
<div *ngIf="structure.distance">
{{ this.formatDistance() }}
</div>
</div>
</div>
<span class="typeStructure">{{ structure.getLabelTypeStructure() }}</span>
<div fxLayout="row" fxLayoutAlign="none flex-end" fxLayoutGap="7px" *ngIf="structure.hasEquipments()">
<app-svg-icon
*ngFor="let equipement of filterOnlyEquipments(structure.equipmentsAndServices)"
......
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