X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/0aa28e47e87fc78e152de7f1750e97ccf260c595..7b4e51e7de73bdc35a101a181e28e4cb98c5f4fe:/src/components/DetailsOneRow.svelte diff --git a/src/components/DetailsOneRow.svelte b/src/components/DetailsOneRow.svelte index ccc38cf..8b77df2 100644 --- a/src/components/DetailsOneRow.svelte +++ b/src/components/DetailsOneRow.svelte @@ -22,24 +22,32 @@ {/if} {formatPlaceType(addressLine)} + {@html osmLink(addressLine)} {addressLine.rank_address} {formatAdminLevel(addressLine.admin_level)} + {@html formatDistance(addressLine.distance, bDistanceInMeters)} {#if addressLine.osm_id} - details + + details + {:else if !reverse_only && addressLine.type.match(/^country/)} - search by name + + search by name + {:else if !reverse_only && addressLine.type === 'postcode'} - search by name + + search by name + {/if}