Add Geschichte (History) wiki-style feature with reorganized navigation
🆕 NEW FEATURES: - Wiki-style Geschichte (History) section with rich text editor - Image upload support for history pages - Quill.js rich text editor with formatting options - Slug-based URLs for SEO-friendly history pages - Image galleries with descriptions and alt-text support 🔧 MODELS: - GeschichteSeite: Main history pages with rich content - GeschichteBild: Image attachments for history pages - Auto-generated slugs, sorting, publishing controls 📝 TEMPLATES: - geschichte/liste.html: Card-based overview of all history pages - geschichte/detail.html: Full page view with image gallery - geschichte/form.html: Rich text editor for creating/editing pages - geschichte/bild_form.html: Image upload interface 🎨 UI IMPROVEMENTS: - Reorganized navigation menu into logical groups: * Menschen & Finanzen (People & Finance) * Immobilien & Land (Real Estate & Land) * Verwaltung (Administration) * Geschichte (History) - More compact menu design saving horizontal space - Better grouping with dropdown headers 🛠️ TECHNICAL: - Rich text editor with Quill.js integration - Image upload with validation and optimization - Permission-based access controls - Responsive design for all screen sizes - Proper breadcrumb navigation - Auto-slug generation from titles
This commit is contained in:
@@ -528,11 +528,14 @@
|
||||
<i class="fas fa-tachometer-alt me-1"></i>Dashboard
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Menschen & Finanzen -->
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="destinataereDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-users me-1"></i>Destinatäre
|
||||
<a class="nav-link dropdown-toggle" href="#" id="personenDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-users me-1"></i>Menschen & Finanzen
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="destinataereDropdown">
|
||||
<ul class="dropdown-menu" aria-labelledby="personenDropdown">
|
||||
<li><h6 class="dropdown-header">Destinatäre</h6></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:destinataer_list' %}">
|
||||
<i class="fas fa-list me-2"></i>Alle Destinatäre
|
||||
</a></li>
|
||||
@@ -540,6 +543,7 @@
|
||||
<i class="fas fa-plus me-2"></i>Neuer Destinatär
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">Förderungen</h6></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:foerderung_list' %}">
|
||||
<i class="fas fa-gift me-2"></i>Alle Förderungen
|
||||
</a></li>
|
||||
@@ -547,19 +551,28 @@
|
||||
<i class="fas fa-plus me-2"></i>Neue Förderung
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">Unterstützungen</h6></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:unterstuetzungen_all' %}">
|
||||
<i class="fas fa-hand-holding-usd me-2"></i>Alle Unterstützungen
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:unterstuetzung_create' %}">
|
||||
<i class="fas fa-plus me-2"></i>Neue Unterstützung
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">Pächter</h6></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:paechter_list' %}">
|
||||
<i class="fas fa-user-tie me-2"></i>Alle Pächter
|
||||
</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<!-- Immobilien & Land -->
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="laendereiDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-tree me-1"></i>Ländereien
|
||||
<a class="nav-link dropdown-toggle" href="#" id="immobilienDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-tree me-1"></i>Immobilien & Land
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="laendereiDropdown">
|
||||
<ul class="dropdown-menu" aria-labelledby="immobilienDropdown">
|
||||
<li><h6 class="dropdown-header">Ländereien</h6></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:land_list' %}">
|
||||
<i class="fas fa-list me-2"></i>Alle Ländereien
|
||||
</a></li>
|
||||
@@ -567,6 +580,7 @@
|
||||
<i class="fas fa-plus me-2"></i>Neue Länderei
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">Verpachtungen</h6></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:verpachtung_list' %}">
|
||||
<i class="fas fa-handshake me-2"></i>Alle Verpachtungen
|
||||
</a></li>
|
||||
@@ -574,28 +588,35 @@
|
||||
<i class="fas fa-plus me-2"></i>Neue Verpachtung
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">Abrechnungen</h6></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:land_abrechnung_list' %}">
|
||||
<i class="fas fa-calculator me-2"></i>Abrechnungen
|
||||
<i class="fas fa-calculator me-2"></i>Alle Abrechnungen
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:land_abrechnung_create' %}">
|
||||
<i class="fas fa-plus me-2"></i>Neue Abrechnung
|
||||
</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'stiftung:paechter_list' %}">
|
||||
<i class="fas fa-user-tie me-1"></i>Pächter
|
||||
|
||||
<!-- Verwaltung & Dokumente -->
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="verwaltungDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-briefcase me-1"></i>Verwaltung
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="verwaltungDropdown">
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:dokument_management' %}">
|
||||
<i class="fas fa-folder-open me-2"></i>Dokumente
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'stiftung:geschaeftsfuehrung' %}">
|
||||
<i class="fas fa-briefcase me-2"></i>Geschäftsführung
|
||||
</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- Legacy Verpachtungen aus Navigation entfernt -->
|
||||
|
||||
<!-- Geschichte -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'stiftung:dokument_management' %}">
|
||||
<i class="fas fa-folder-open me-1"></i>Dokumente
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'stiftung:geschaeftsfuehrung' %}">
|
||||
<i class="fas fa-briefcase me-1"></i>Geschäftsführung
|
||||
<a class="nav-link" href="{% url 'stiftung:geschichte_list' %}">
|
||||
<i class="fas fa-book-open me-1"></i>Geschichte
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
|
||||
Reference in New Issue
Block a user