One button should not be displayed

This commit is contained in:
Yohann D'ANELLO 2020-05-30 15:48:43 +02:00
parent 302f9e752c
commit 8751b3936e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
{% if not activity.open and ".change__valid"|has_perm:activity %}
<a class="btn btn-success btn-sm my-1" id="validate_activity"> {% if activity.valid %}{% trans "invalidate"|capfirst %}{% else %}{% trans "validate"|capfirst %}{% endif %}</a>
{% endif %}
{% if ".view_"|has_perm:activity %}
{% if ".change_"|has_perm:activity %}
<a class="btn btn-primary btn-sm my-1" href="{% url 'activity:activity_update' pk=activity.pk %}"> {% trans "edit"|capfirst %}</a>
{% endif %}
{% if activity.activity_type.can_invite and not activity_started %}