Fix cookie configuration and update destinataer workflow

- Fixed empty cookie name issue in production by improving fallback logic
- Changed 'Neue Förderung' to 'Neue Unterstützung' in destinataer detail page
- Updated icon from fa-gift to fa-heart for better UX
- Workflow now correctly uses unterstuetzung_create with destinataer pre-population

Resolves CookieError: Illegal key '' in production environment
This commit is contained in:
Stiftung Development
2025-09-21 22:52:55 +02:00
parent 6282d1a02f
commit 36c66a803c
2 changed files with 4 additions and 4 deletions

View File

@@ -14,8 +14,8 @@
Destinatär: {{ destinataer.get_full_name }}
</h1>
<div>
<a href="{% url 'stiftung:foerderung_create' %}?destinataer={{ destinataer.pk }}" class="btn btn-success me-2">
<i class="fas fa-gift me-2"></i>Neue Förderung
<a href="{% url 'stiftung:unterstuetzung_create' %}?destinataer={{ destinataer.pk }}" class="btn btn-success me-2">
<i class="fas fa-heart me-2"></i>Neue Unterstützung
</a>
<!-- Edit Mode Toggle Buttons -->