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

feat(carto): add structure type icon to search result

parent cf1d5aeb
No related branches found
No related tags found
3 merge requests!418V2.1.0,!400V2.0,!230V2.0
......@@ -6,10 +6,13 @@
[ngClass]="{ orientation: isOrientation }"
>
<div class="left">
<div fxLayout="row" fxLayoutAlign="space-between baseline" fxLayoutGap="16px">
<div fxLayout="column" fxLayoutAlign="end">
<span class="structure-name" [ngClass]="{ notClaimed: !isClaimed }">{{ structure.structureName }}</span>
<span class="typeStructure">{{ structure.getLabelTypeStructure() }}</span>
<div fxLayout="row" fxLayoutAlign="space-between center" fxLayoutGap="16px">
<div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="8px">
<app-svg-icon [type]="'ico'" [icon]="structure.getTypeStructureIcon()" [iconClass]="'icon-52'"></app-svg-icon>
<div fxLayout="column" fxLayoutAlign="end">
<span class="structure-name" [ngClass]="{ notClaimed: !isClaimed }">{{ structure.structureName }}</span>
<span class="typeStructure">{{ structure.getLabelTypeStructure() }}</span>
</div>
</div>
<div *ngIf="!isOrientation" fxLayout="column" fxLayoutAlign="none end">
<div class="distanceStructure">
......
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