Fixed error with enforcing permission on accept.
This commit is contained in:
1 parent
512d0887a3
commit
a73e3027d3
2 files changed
+6
-9
No files matched your search
@@ -38,8 +38,7 @@
|
||||
</li>
|
||||
<li class="{% if not has_permission_accept %}disabled{% endif %}">
|
||||
<a class="btn {% if has_permission_accept %}btn-success{% else %}disabled{% endif %}"
|
||||
data-toggle="modal" data-target="#modal-accept-dialog"
|
||||
ihref="{% url 'dav_events:event_accept' event.pk %}">{% trans 'Freigeben' %}</a>
|
||||
data-toggle="modal" data-target="#modal-accept-dialog">{% trans 'Freigeben' %}</a>
|
||||
</li>
|
||||
<li class="{% if not has_permission_update %}disabled{% endif %}">
|
||||
<a class="btn {% if has_permission_update %}btn-warning{% else %}disabled{% endif %}"
|
||||
|
||||
Reference in new issue
Block a user