mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-30 09:35:31 +00:00
Orte features
This commit is contained in:
@@ -20,12 +20,17 @@
|
||||
<div class="block p-4 hover:bg-slate-50 transition-colors duration-200 cursor-pointer">
|
||||
<div class="flex items-start justify-between gap-2">
|
||||
<div class="flex-1 min-w-0">
|
||||
<h3 class="font-bold text-slate-800 mb-1 truncate">
|
||||
{{ if $place.Names }}
|
||||
{{ index $place.Names 0 }}
|
||||
{{ else }}
|
||||
{{ $place.ID }}
|
||||
{{ end }}
|
||||
<h3 class="font-bold text-slate-800 mb-1 truncate flex items-center gap-2">
|
||||
<span class="truncate">
|
||||
{{ if $place.Names }}
|
||||
{{ index $place.Names 0 }}
|
||||
{{ else }}
|
||||
{{ $place.ID }}
|
||||
{{ end }}
|
||||
</span>
|
||||
<a href="/ort/{{ $place.ID }}" class="flex-shrink-0 text-slate-400 hover:text-slate-600 transition-colors no-underline" title="Permalink" onclick="event.stopPropagation()">
|
||||
<i class="ri-link text-sm"></i>
|
||||
</a>
|
||||
</h3>
|
||||
{{ if ne $geonames nil }}
|
||||
{{ $fullInfo := GetFullPlaceInfo $place.Geo $mainPlaceName }}
|
||||
|
||||
Reference in New Issue
Block a user