Unify event list view on organizer and event-series (#4702)

This commit is contained in:
Richard Schreiber
2024-12-18 13:32:26 +01:00
committed by GitHub
parent b45d58b60e
commit 5b99788354
10 changed files with 203 additions and 246 deletions

View File

@@ -555,6 +555,7 @@ class EventIndex(EventViewMixin, EventListMixin, CartMixin, TemplateView):
context['ev'] = self.subevent or self.request.event
context['subevent'] = self.subevent
context['subevent_list_foldable'] = self.subevent and "date" not in self.request.GET and "filtered" not in self.request.GET
# Show voucher option if an event is selected and vouchers exist
vouchers_exist = self.request.event.cache.get('vouchers_exist')