From bc13ab6bdbe9223e208c57818727d1bd72ad52e7 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 11 Jul 2018 16:19:59 +0100 Subject: [PATCH] =?UTF-8?q?Untick=20=E2=80=98basic=20view=E2=80=99=20if=20?= =?UTF-8?q?invite=20is=20cancelled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If an invite is cancelled then the user no longer has permission to do anything, so we shouldn’t show the green tick. We already do this for other permissions; this makes the ‘basic view’ row consistent. --- app/templates/views/manage-users.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/manage-users.html b/app/templates/views/manage-users.html index 24fa5f18d..6eea1fc6b 100644 --- a/app/templates/views/manage-users.html +++ b/app/templates/views/manage-users.html @@ -88,7 +88,7 @@ ) }} {% else %} {{ tick_cross( - True, + user.status != 'cancelled', 'Basic view' ) }} {% endif %}