Allow creators to delete events and restrict private invitations to friends

This commit is contained in:
2026-09-15 20:13:29 +02:00
parent bb28e17220
commit d1bb184b17
7 changed files with 163 additions and 18 deletions
+4 -2
View File
@@ -237,14 +237,16 @@
<div class="calendar-export"><a href="/concerts/{{ concert.id }}.ics" class="concert-action">{{ _('📅 In Kalender speichern (.ics)') }}</a></div>
{% if can_edit %}
{% if can_edit or can_delete %}
<div class="detail-actions" aria-label="{{ _('Veranstaltung verwalten') }}">
{% if can_edit %}
<a href="/concerts/{{ concert.id }}/edit" class="concert-action concert-action-edit">
{{ _('✏️ Veranstaltung bearbeiten') }}
</a>
{% if user.is_admin and can_delete %}
{% endif %}
{% if can_delete %}
<form
method="post"