feat(windkarte): stellungnahmeUrl-Feld + Einwendung-erstellen-Button im Detail-Panel
Deploy / verify (push) Successful in 1m7s
Deploy / deploy (push) Successful in 1m19s

This commit is contained in:
Peter Meier
2026-05-29 09:14:36 +02:00
parent 0be73adc51
commit 940b9beb7f
2 changed files with 13 additions and 1 deletions
+12 -1
View File
@@ -198,7 +198,18 @@
</div>
{/if}
<!-- Stellungnahme -->
<!-- Stellungnahme-Generator (interne URL) -->
{#if area.stellungnahmeUrl}
<a
href={area.stellungnahmeUrl}
class="flex items-center gap-2 rounded-lg bg-wald-700 px-4 py-3 text-sm font-semibold text-white no-underline hover:bg-wald-800 transition-colors"
>
<Icon icon="mdi:file-document-edit-outline" class="size-4 shrink-0" />
Einwendung erstellen
</a>
{/if}
<!-- Stellungnahme-Vorlage (Post) -->
{#if stellungnahmeHref(area.stellungnahme)}
<a
href={stellungnahmeHref(area.stellungnahme)}
+1
View File
@@ -18,6 +18,7 @@ export type WindArea = {
investor?: string;
gemeinden?: string[];
stellungnahme?: { _slug: string; slug?: string } | string | null;
stellungnahmeUrl?: string | null;
stellungnahme_kriterien?: Array<TextFragment | { _slug: string } | string> | null;
notizen?: string;
geometry?: GeoJSON.Geometry;