Fix wrong permission check in quota view

This commit is contained in:
Raphael Michel
2016-10-23 19:21:18 +02:00
parent 70199eb7ae
commit afb27010fd

View File

@@ -6,7 +6,7 @@
{% block inside %}
<h1>
{% blocktrans with name=quota.name %}Quota: {{ name }}{% endblocktrans %}
{% if request.eventperm.can_change_quotas %}
{% if request.eventperm.can_change_items %}
<a href="{% url "control:event.items.quotas.edit" event=request.event.slug organizer=request.event.organizer.slug quota=quota.pk %}"
class="btn btn-default">
<span class="fa fa-edit"></span>