Add past events page

This commit is contained in:
2025-10-08 10:18:56 +02:00
parent e1130fa493
commit 3812dd5d47
3 changed files with 31 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
{% block content %}
<div class="row mt-4 mb-3">
<div class="col d-flex justify-content-between align-items-center">
<h2>Kommende Events</h2>
<h2>{% if current_page == "home" %}Kommende{% else %}Vergangene{% endif %} Kochabende</h2>
<a href="/event/add" class="btn btn-primary">
<i class="bi bi-plus-circle"></i> Neues Event erstellen
</a>