mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Added URLs to quotas on dashboard
This commit is contained in:
@@ -89,6 +89,11 @@ def quota_widgets(sender, **kwargs):
|
||||
text=_('{quota} left').format(quota=q.name)),
|
||||
'width': 3,
|
||||
'priority': 50,
|
||||
'url': reverse('control:event.items.quotas.edit', kwargs={
|
||||
'event': sender.slug,
|
||||
'organizer': sender.organizer.slug,
|
||||
'quota': q.id
|
||||
})
|
||||
})
|
||||
return widgets
|
||||
|
||||
|
||||
Reference in New Issue
Block a user