Organizer/MultiEvent-Exports (#1684)

Co-authored-by: Raphael Michel <michel@rami.io>
This commit is contained in:
Martin Gross
2020-06-16 11:06:40 +02:00
committed by GitHub
parent e895c13b28
commit 0b20d3f6f8
14 changed files with 384 additions and 78 deletions

View File

@@ -411,6 +411,14 @@ def get_organizer_navigation(request):
'active': url.url_name == 'organizer',
'icon': 'calendar',
},
{
'label': _('Export'),
'url': reverse('control:organizer.export', kwargs={
'organizer': request.organizer.slug,
}),
'active': 'organizer.export' in url.url_name,
'icon': 'download',
},
]
if 'can_change_organizer_settings' in request.orgapermset:
nav.append({