forked from CGM_Public/pretix_original
Move export down in organizer navigation
This commit is contained in:
@@ -411,14 +411,6 @@ 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({
|
||||
@@ -446,6 +438,16 @@ def get_organizer_navigation(request):
|
||||
'active': 'organizer.team' in url.url_name,
|
||||
'icon': 'group',
|
||||
})
|
||||
|
||||
nav.append({
|
||||
'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({
|
||||
'label': _('Devices'),
|
||||
|
||||
Reference in New Issue
Block a user