fix: Update shortLabel for in-progress construction status and improve project count display in ProjectsMapPage

This commit is contained in:
2025-09-18 16:02:30 +02:00
parent 671a4490d7
commit c39746f4f6

View File

@@ -109,7 +109,7 @@ function ProjectsMapPageContent() {
in_progress_construction: {
color: "#F59E0B",
label: formatProjectStatus("in_progress_construction"),
shortLabel: "W real. (R)",
shortLabel: "W real. (B)",
},
fulfilled: {
color: "#10B981",
@@ -432,7 +432,7 @@ function ProjectsMapPageContent() {
{t('map.projectsMap')}
</h1>
<div className="text-sm text-gray-600">
{markers.length} of {projects.length} {t('map.projectsWithCoordinates')}
{markers.length} z {projects.length} {t('map.projectsWithCoordinates')}
</div>
</div>{" "}
</div>
@@ -805,7 +805,7 @@ function ProjectsMapPageContent() {
</div>
{/* Status Panel - Bottom Left */}
{markers.length > 0 && (
<div className="bg-white/95 backdrop-blur-sm rounded-lg shadow-lg px-4 py-3 border border-gray-200">
<div className="absolute bottom-4 left-4 z-[1000] bg-white/95 backdrop-blur-sm rounded-lg shadow-lg px-4 py-3 border border-gray-200">
<div className="flex items-center gap-2">
<span className="text-sm font-medium text-gray-700 mr-2">
{t('map.filters')}