mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
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',
|
'active': url.url_name == 'organizer',
|
||||||
'icon': 'calendar',
|
'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:
|
if 'can_change_organizer_settings' in request.orgapermset:
|
||||||
nav.append({
|
nav.append({
|
||||||
@@ -446,6 +438,16 @@ def get_organizer_navigation(request):
|
|||||||
'active': 'organizer.team' in url.url_name,
|
'active': 'organizer.team' in url.url_name,
|
||||||
'icon': 'group',
|
'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:
|
if 'can_change_organizer_settings' in request.orgapermset:
|
||||||
nav.append({
|
nav.append({
|
||||||
'label': _('Devices'),
|
'label': _('Devices'),
|
||||||
|
|||||||
Reference in New Issue
Block a user