Added URLs to quotas on dashboard

This commit is contained in:
Raphael Michel
2016-06-01 18:49:28 +02:00
parent 28f3eae74b
commit 67373ecfd1

View File

@@ -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