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