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
Branches
Tags
2 merge requests!178release V1.10.0,!120Dev
<div class="structure" fxLayout="column" (click)="cardClicked()" (mouseenter)="cardHover()"> <div class="structure" fxLayout="column" (click)="cardClicked()" (mouseenter)="cardHover()">
<div class="headerStructure" fxLayout="row" fxLayoutAlign="space-between center" fxLayoutGap="16px"> <div class="headerStructure" fxLayout="row" fxLayoutAlign="space-between center" fxLayoutGap="16px">
<span class="structure-name" [ngClass]="{ notClaimed: !isClaimed }">{{ structure.structureName }}</span> <div fxLayout="column" fxLayoutAlign="end">
<div <span class="structure-name" [ngClass]="{ notClaimed: !isClaimed }">{{ structure.structureName }}</span>
*ngIf="structure.distance" <span class="typeStructure">{{ structure.getLabelTypeStructure() }}</span>
class="distanceStructure" </div>
fxLayout="row" <div class="distanceStructure" fxLayout="column" fxLayoutAlign="none end">
fxLayoutAlign="end center"
fxLayoutGap="20px"
>
<div> <div>
{{ this.structure.address.commune }}
</div>
<div *ngIf="structure.distance">
{{ this.formatDistance() }} {{ this.formatDistance() }}
</div> </div>
</div> </div>
</div> </div>
<span class="typeStructure">{{ structure.getLabelTypeStructure() }}</span>
<div fxLayout="row" fxLayoutAlign="none flex-end" fxLayoutGap="7px" *ngIf="structure.hasEquipments()"> <div fxLayout="row" fxLayoutAlign="none flex-end" fxLayoutGap="7px" *ngIf="structure.hasEquipments()">
<app-svg-icon <app-svg-icon
*ngFor="let equipement of filterOnlyEquipments(structure.equipmentsAndServices)" *ngFor="let equipement of filterOnlyEquipments(structure.equipmentsAndServices)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment