feat(windkarte): stellungnahmeUrl-Feld + Einwendung-erstellen-Button im Detail-Panel
This commit is contained in:
@@ -198,7 +198,18 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/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)}
|
{#if stellungnahmeHref(area.stellungnahme)}
|
||||||
<a
|
<a
|
||||||
href={stellungnahmeHref(area.stellungnahme)}
|
href={stellungnahmeHref(area.stellungnahme)}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ export type WindArea = {
|
|||||||
investor?: string;
|
investor?: string;
|
||||||
gemeinden?: string[];
|
gemeinden?: string[];
|
||||||
stellungnahme?: { _slug: string; slug?: string } | string | null;
|
stellungnahme?: { _slug: string; slug?: string } | string | null;
|
||||||
|
stellungnahmeUrl?: string | null;
|
||||||
stellungnahme_kriterien?: Array<TextFragment | { _slug: string } | string> | null;
|
stellungnahme_kriterien?: Array<TextFragment | { _slug: string } | string> | null;
|
||||||
notizen?: string;
|
notizen?: string;
|
||||||
geometry?: GeoJSON.Geometry;
|
geometry?: GeoJSON.Geometry;
|
||||||
|
|||||||
Reference in New Issue
Block a user