mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +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)),
|
text=_('{quota} left').format(quota=q.name)),
|
||||||
'width': 3,
|
'width': 3,
|
||||||
'priority': 50,
|
'priority': 50,
|
||||||
|
'url': reverse('control:event.items.quotas.edit', kwargs={
|
||||||
|
'event': sender.slug,
|
||||||
|
'organizer': sender.organizer.slug,
|
||||||
|
'quota': q.id
|
||||||
|
})
|
||||||
})
|
})
|
||||||
return widgets
|
return widgets
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user