Allow creators to delete events and restrict private invitations to friends
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user