hotfix : héritage de has_perm
This commit is contained in:
parent
40a9ce6531
commit
9e7937d7d9
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue