feat(windkarte): stellungnahmeUrl-Feld + Einwendung-erstellen-Button im Detail-Panel
This commit is contained in:
@@ -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)}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user