hotfix : héritage de has_perm

This commit is contained in:
Qwann 2018-11-24 17:07:46 +01:00
parent 40a9ce6531
commit 9e7937d7d9

View file

@ -47,7 +47,7 @@
<span class="cal-event-description">{{ activity.description }}</span>
<span class="cal-event-url">{% url "event:activity" activity.id %}</span>
{% if activity.has_perm %}
{% if activity|get_herited:'has_perm' %}
<span class="cal-event-has-perms">1</span>
<span class="cal-event-min-nb-perms">{{ activity|get_herited:'min_perm' }}</span>
<span class="cal-event-max-nb-perms">{{ activity|get_herited:'max_perm' }}</span>