From 8751b3936e52b8dd20d06d82ac4c8114ac6264d9 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 30 May 2020 15:48:43 +0200 Subject: [PATCH] One button should not be displayed --- templates/activity/activity_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/activity/activity_detail.html b/templates/activity/activity_detail.html index 7ee9f7c0..3a3de8d0 100644 --- a/templates/activity/activity_detail.html +++ b/templates/activity/activity_detail.html @@ -63,7 +63,7 @@ {% if not activity.open and ".change__valid"|has_perm:activity %} {% if activity.valid %}{% trans "invalidate"|capfirst %}{% else %}{% trans "validate"|capfirst %}{% endif %} {% endif %} - {% if ".view_"|has_perm:activity %} + {% if ".change_"|has_perm:activity %} {% trans "edit"|capfirst %} {% endif %} {% if activity.activity_type.can_invite and not activity_started %}